:root {
    --student-primary: #075b84;
    --student-primary-strong: #044b6f;
    --student-primary-active: #0f6f91;
    --student-primary-soft: #e7f5fa;
    --student-accent: #2f9bc7;
    --student-ink: #172f3f;
    --student-muted: #637887;
    --student-border: #dbe7ee;
    --student-surface: #ffffff;
    --student-bg: #f4f8fb;
    --student-shadow: 0 18px 48px rgba(15, 55, 75, 0.11);
    --student-shadow-soft: 0 10px 26px rgba(15, 55, 75, 0.08);
    --rz-primary: var(--student-primary);
    --rz-secondary: var(--student-accent);
    --rz-primary-light: #0e759f;
    --rz-body-background-color: var(--student-bg);
    --rz-header-background-color: var(--student-surface);
    --rz-sidebar-background-color: #073b56;
    --rz-sidebar-toggle-hover-background-color: rgba(7, 91, 132, 0.08);
    --rz-dropdown-item-selected-background-color: rgba(47, 155, 199, 0.16);
    --rz-dropdown-item-selected-hover-background-color: rgba(47, 155, 199, 0.2);
    --rz-dropdown-item-hover-background-color: rgba(47, 155, 199, 0.12);
    --rz-panel-menu-item-2nd-level-active-background-color: rgba(47, 155, 199, 0.16);
    --rz-dropdown-item-hover-color: var(--student-primary);
    --rz-dropdown-item-selected-color: var(--student-primary);
    --rz-dropdown-item-selected-hover-color: var(--student-primary);
}

html,
body {
    min-height: 100%;
    font-family: 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background:
        linear-gradient(180deg, #f7fbfd 0%, #eef5f8 100%);
    color: var(--student-ink);
}

a,
.btn-link {
    color: var(--student-primary);
}

.btn-primary {
    color: #fff;
    background-color: var(--student-primary);
    border-color: var(--student-primary-strong);
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem rgba(47, 155, 199, 0.32);
}

.content {
    padding-top: 1.1rem;
}

h1:focus {
    outline: none;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid #e50000;
}

.validation-message {
    color: #e50000;
}

.blazor-error-boundary {
    background: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNTYiIGhlaWdodD0iNDkiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgeG1sbnM6eGxpbms9Imh0dHA6Ly93d3cudzMub3JnLzE5OTkveGxpbmsiIG92ZXJmbG93PSJoaWRkZW4iPjxkZWZzPjxjbGlwUGF0aCBpZD0iY2xpcDAiPjxyZWN0IHg9IjIzNSIgeT0iNTEiIHdpZHRoPSI1NiIgaGVpZ2h0PSI0OSIvPjwvY2xpcFBhdGg+PC9kZWZzPjxnIGNsaXAtcGF0aD0idXJsKCNjbGlwMCkiIHRyYW5zZm9ybT0idHJhbnNsYXRlKC0yMzUgLTUxKSI+PHBhdGggZD0iTTI2My41MDYgNTFDMjY0LjcxNyA1MSAyNjUuODEzIDUxLjQ4MzcgMjY2LjYwNiA1Mi4yNjU4TDI2Ny4wNTIgNTIuNzk4NyAyNjcuNTM5IDUzLjYyODMgMjkwLjE4NSA5Mi4xODMxIDI5MC41NDUgOTIuNzk1IDI5MC42NTYgOTIuOTk2QzI5MC44NzcgOTMuNTEzIDI5MSA5NC4wODE1IDI5MSA5NC42NzgyIDI5MSA5Ny4wNjUxIDI4OS4wMzggOTkgMjg2LjYxNyA5OUwyNDAuMzgzIDk5QzIzNy45NjMgOTkgMjM2IDk3LjA2NTEgMjM2IDk0LjY3ODIgMjM2IDk0LjM3OTkgMjM2LjAzMSA5NC4wODg2IDIzNi4wODkgOTMuODA3MkwyMzYuMzM4IDkzLjAxNjIgMjM2Ljg1OCA5Mi4xMzE0IDI1OS40NzMgNTMuNjI5NCAyNTkuOTYxIDUyLjc5ODUgMjYwLjQwNyA1Mi4yNjU4QzI2MS4yIDUxLjQ4MzcgMjYyLjI5NiA1MSAyNjMuNTA2IDUxWk0yNjMuNTg2IDY2LjAxODNDMjYwLjczNyA2Ni4wMTgzIDI1OS4zMTMgNjcuMTI0NSAyNTkuMzEzIDY5LjMzNyAyNTkuMzEzIDY5LjYxMDIgMjU5LjMzMiA2OS44NjA4IDI1OS4zNzEgNzAuMDg4N0wyNjEuNzk1IDg0LjAxNjEgMjY1LjM4IDg0LjAxNjEgMjY3LjgyMSA2OS43NDc1QzI2Ny44NiA2OS43MzA5IDI2Ny44NzkgNjkuNTg3NyAyNjcuODc5IDY5LjMxNzkgMjY3Ljg3OSA2Ny4xMTgyIDI2Ni40NDggNjYuMDE4MyAyNjMuNTg2IDY2LjAxODNaTTI2My41NzYgODYuMDU0N0MyNjEuMDQ5IDg2LjA1NDcgMjU5Ljc4NiA4Ny4zMDA1IDI1OS43ODYgODkuNzkyMSAyNTkuNzg2IDkyLjI4MzcgMjYxLjA0OSA5My41Mjk1IDI2My41NzYgOTMuNTI5NSAyNjYuMTE2IDkzLjUyOTUgMjY3LjM4NyA5Mi4yODM3IDI2Ny4zODcgODkuNzkyMSAyNjcuMzg3IDg3LjMwMDUgMjY2LjExNiA4Ni4wNTQ3IDI2My41NzYgODYuMDU0N1oiIGZpbGw9IiNGRkU1MDAiIGZpbGwtcnVsZT0iZXZlbm9kZCIvPjwvZz48L3N2Zz4=) no-repeat 1rem/1.8rem, #b32121;
    padding: 1rem 1rem 1rem 3.7rem;
    color: white;
}

    .blazor-error-boundary::after {
        content: "An error has occurred."
    }

.darker-border-checkbox.form-check-input {
    border-color: #929292;
}

.student-shell {
    background:
        radial-gradient(circle at 36% 0%, rgba(47, 155, 199, 0.13), transparent 26rem),
        linear-gradient(180deg, #f7fbfd 0%, #eef5f8 100%);
    min-height: 100vh;
}

.student-shell .student-header,
.student-shell .rz-header {
    height: 68px;
    min-height: 68px;
    max-height: 68px;
    overflow: visible;
    background: var(--student-surface);
    border-bottom: 1px solid var(--student-border);
    box-shadow: 0 10px 26px rgba(18, 48, 63, 0.07);
}

.student-header-row {
    height: 68px;
    min-height: 68px;
    padding: 0 1.25rem;
}

.student-header .rz-row,
.student-header .rz-stack {
    max-height: 68px;
}

.student-sidebar-toggle,
.student-header .rz-sidebar-toggle,
.student-header .rz-sidebar-toggle.rz-button,
.student-header .rz-sidebar-toggle button {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
    padding: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 999px !important;
    border: 1px solid #cfe2eb !important;
    color: var(--student-primary) !important;
    background: #ffffff !important;
    box-shadow: 0 8px 20px rgba(15, 55, 75, 0.1) !important;
}

.student-sidebar-toggle:hover,
.student-header .rz-sidebar-toggle:hover,
.student-header .rz-sidebar-toggle.rz-button:hover,
.student-header .rz-sidebar-toggle button:hover {
    color: #ffffff !important;
    background: var(--student-primary) !important;
    border-color: var(--student-primary) !important;
}

.student-sidebar-toggle .rz-icon,
.student-header .rz-sidebar-toggle .rz-icon {
    font-size: 1.45rem !important;
}

.student-brand-logo {
    flex: 0 0 38px;
    width: 38px;
    max-width: 38px;
    height: 38px;
    max-height: 38px;
    object-fit: contain;
    border-radius: 10px;
    background: #ffffff;
    padding: 4px;
    border: 1px solid var(--student-border);
    box-shadow: 0 8px 18px rgba(15, 55, 75, 0.08);
}

.student-brand-title {
    margin: 0;
    color: var(--student-ink);
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.1;
}

.student-brand-subtitle,
.student-user-name {
    margin: 0;
    color: var(--student-muted);
}

.student-avatar {
    flex: 0 0 38px;
    width: 38px;
    max-width: 38px;
    height: 38px;
    max-height: 38px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 6px 18px rgba(15, 55, 75, 0.18);
}

.student-profile-menu,
.student-profile-menu.rz-profile-menu,
.student-profile-menu .rz-profile-menu,
.student-profile-menu .rz-button,
.student-profile-menu button,
.student-header .rz-profile-menu,
.student-header .rz-profile-menu button {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.student-profile-menu.rz-profile-menu,
.student-profile-menu .rz-profile-menu,
.student-header .rz-profile-menu {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.25rem 0.45rem 0.25rem 0.25rem;
    border-radius: 999px;
}

.student-profile-menu.rz-profile-menu:hover,
.student-profile-menu .rz-profile-menu:hover,
.student-header .rz-profile-menu:hover {
    background: var(--student-primary-soft) !important;
}

.student-profile-menu.rz-profile-menu:after,
.student-profile-menu .rz-profile-menu:after,
.student-profile-menu .rz-profile-menu .rz-profile-menu-caret,
.student-header .rz-profile-menu:after,
.student-header .rz-profile-menu .rz-profile-menu-caret {
    color: var(--student-primary) !important;
}

.student-sidebar {
    --rz-panel-menu-item-border-radius: 10px;
    color: #d9edf5;
    border-right: 0;
    background:
        linear-gradient(180deg, #063a55 0%, #0b5c78 100%) !important;
    box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.08);
}

.student-sidebar-heading {
    padding: 1.8rem 1.25rem 0.7rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 800;
    letter-spacing: 0.04em;
}

.student-sidebar .rz-panel-menu {
    background: transparent;
    padding: 0.35rem 0.5rem 1rem;
}

.student-sidebar .rz-panel-menu .rz-navigation-item-wrapper {
    border-radius: 10px;
    margin: 0.25rem 0;
    border: 1px solid transparent;
}

.student-sidebar .rz-panel-menu .rz-navigation-item,
.student-sidebar .rz-panel-menu .rz-navigation-menu,
.student-sidebar .rz-panel-menu .rz-navigation-item-wrapper,
.student-sidebar .rz-panel-menu .rz-navigation-item-link {
    border-top: 0 !important;
    border-bottom: 0 !important;
}

.student-sidebar .rz-panel-menu .rz-navigation-item-link {
    min-height: 50px;
    color: rgba(255, 255, 255, 0.84);
    font-weight: 700;
    gap: 0.65rem;
}

.student-sidebar .rz-panel-menu .rz-navigation-item-icon {
    color: rgba(255, 255, 255, 0.58);
}

.student-sidebar .rz-panel-menu .rz-navigation-item-link:hover,
.student-sidebar .rz-panel-menu .rz-navigation-item-active > .rz-navigation-item-wrapper .rz-navigation-item-link {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff;
}

.student-sidebar .rz-panel-menu .rz-navigation-item-link:hover .rz-navigation-item-icon,
.student-sidebar .rz-panel-menu .rz-navigation-item-active > .rz-navigation-item-wrapper .rz-navigation-item-icon {
    color: #ffffff !important;
}

.student-sidebar .rz-panel-menu .rz-navigation-item-active > .rz-navigation-item-wrapper {
    background: linear-gradient(90deg, var(--student-primary-active), rgba(255, 255, 255, 0.08)) !important;
    border-color: rgba(255, 255, 255, 0.16) !important;
    box-shadow: inset 4px 0 0 #ffffff;
}

.student-sidebar .rz-panel-menu .rz-navigation-item-active > .rz-navigation-item-wrapper .rz-navigation-item-text,
.student-sidebar .rz-panel-menu .rz-navigation-item-active > .rz-navigation-item-wrapper .rz-navigation-item-link {
    color: #ffffff !important;
}

.student-body {
    background: transparent;
}

.student-content {
    width: min(1180px, calc(100vw - 2rem));
    margin: 0 auto;
    padding: 2.5rem 0 2.5rem;
}

.rz-card,
.rz-panel {
    border: 1px solid var(--student-border);
    border-radius: 8px;
    box-shadow: var(--student-shadow-soft);
    background: var(--student-surface);
}

.rz-card {
    --rz-card-padding: 1.25rem;
}

.rz-panel {
    overflow: hidden;
}

.rz-panel-titlebar,
.rz-fieldset-legend {
    background: linear-gradient(180deg, #ffffff, #f8fbfd);
    border-color: var(--student-border);
}

.rz-fieldset {
    border-color: var(--student-border);
    border-radius: 8px;
}

.rz-button {
    border-radius: 8px;
    font-weight: 700;
    letter-spacing: 0;
}

.rz-inputtext,
.rz-dropdown,
.rz-numeric,
.rz-datepicker,
.rz-textarea {
    border-radius: 8px;
}

.rz-datatable,
.rz-data-grid {
    border-radius: 8px;
    overflow: hidden;
    border-color: var(--student-border);
}

.rz-datatable-thead th,
.rz-grid-table thead th {
    background: #f2f8fb;
    color: #17384a;
    font-weight: 800;
    border-color: var(--student-border);
}

.rz-datatable-data td,
.rz-grid-table td {
    border-color: #edf3f6;
}

.rz-badge {
    border-radius: 999px;
    font-weight: 800;
}

.dashboard-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2.15rem 2rem;
    margin-bottom: 1.05rem;
    color: #ffffff;
    background:
        linear-gradient(135deg, #0b668c 0%, #48afd1 100%);
    border-radius: 8px;
    box-shadow: var(--student-shadow);
    position: relative;
    overflow: hidden;
}

.dashboard-hero:after {
    content: "";
    position: absolute;
    inset: auto -8rem -9rem auto;
    width: 22rem;
    height: 22rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.14);
}

.dashboard-hero h1 {
    position: relative;
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
}

.dashboard-summary {
    position: relative;
    max-width: 42rem;
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.9);
}

.eyebrow {
    position: relative;
    margin: 0 0 0.35rem;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.78);
    letter-spacing: 0.08em;
}

.dashboard-actions {
    margin-top: 0;
}

.quick-card {
    min-height: 224px;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.quick-card:hover {
    transform: translateY(-2px);
    border-color: #bfdbe7;
    box-shadow: var(--student-shadow);
}

.quick-card .rz-icon {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: var(--student-primary-soft);
    color: var(--student-primary);
    font-size: 1.55rem;
}

.quick-card h2 {
    margin: 0;
    font-size: 1.12rem;
    font-weight: 800;
    color: var(--student-ink);
}

.quick-card p {
    flex: 1;
    margin: 0;
    color: var(--student-muted);
    line-height: 1.45;
}

.hero-link,
.quick-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    width: fit-content;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
}

.hero-link {
    position: relative;
    z-index: 1;
    padding: 0.72rem 1rem;
    color: #d91f64;
    background: #ffffff;
    box-shadow: 0 8px 22px rgba(15, 55, 75, 0.12);
}

.hero-link:hover,
.quick-link:hover {
    text-decoration: none;
}

.quick-link {
    padding: 0.55rem 0.75rem;
    color: #d91f64;
    background: var(--student-primary-soft);
}

.quick-link:hover,
.hero-link:hover {
    color: #b91550;
}

.documents-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.documents-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
    color: #ffffff;
    background: linear-gradient(135deg, #0b668c 0%, #48afd1 100%);
    border-radius: 8px;
    box-shadow: var(--student-shadow);
    overflow: hidden;
}

.documents-hero h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
}

.documents-hero p:not(.eyebrow) {
    max-width: 45rem;
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.9);
}

.documents-progress-card {
    min-width: 160px;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.documents-progress-card span {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
}

.documents-progress-card small {
    display: block;
    margin-top: 0.4rem;
    color: rgba(255, 255, 255, 0.82);
    font-weight: 700;
}

.document-summary-card {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    height: 100%;
    min-height: 88px;
    padding: 1rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid var(--student-border);
    box-shadow: var(--student-shadow-soft);
}

.document-summary-card .rz-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    font-size: 1.5rem;
}

.document-summary-card strong {
    display: block;
    font-size: 1.45rem;
    line-height: 1;
    color: var(--student-ink);
}

.document-summary-card span {
    display: block;
    margin-top: 0.25rem;
    color: var(--student-muted);
    font-weight: 700;
}

.document-summary-card.is-approved .rz-icon {
    color: #107c41;
    background: #e6f6ed;
}

.document-summary-card.is-pending .rz-icon {
    color: #0b668c;
    background: #e7f5fa;
}

.document-summary-card.is-rejected .rz-icon {
    color: #b42318;
    background: #feeceb;
}

.document-summary-card.is-missing .rz-icon {
    color: #a85d00;
    background: #fff3dc;
}

.documents-panel {
    padding: 1rem;
}

.documents-panel-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.documents-panel-header h2 {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--student-ink);
}

.documents-panel-header p {
    margin: 0.35rem 0 0;
    color: var(--student-muted);
}

.document-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.document-card {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    min-height: 210px;
    padding: 1rem;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 8px 20px rgba(15, 55, 75, 0.06);
}

.document-card-header {
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 0.75rem;
    align-items: flex-start;
}

.document-card h3 {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: var(--student-ink);
}

.document-card p {
    margin: 0.25rem 0 0;
    color: var(--student-muted);
}

.document-icon {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.document-icon.is-approved {
    color: #107c41;
    background: #e6f6ed;
}

.document-icon.is-pending {
    color: #0b668c;
    background: #e7f5fa;
}

.document-icon.is-rejected {
    color: #b42318;
    background: #feeceb;
}

.document-icon.is-missing {
    color: #a85d00;
    background: #fff3dc;
}

.document-icon.is-optional {
    color: var(--student-primary);
    background: var(--student-primary-soft);
}

.document-observation,
.document-file-name,
.document-locked,
.document-selected-file {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0.65rem 0.75rem;
    border-radius: 8px;
    font-size: 0.92rem;
}

.document-observation {
    color: #8f1d18;
    background: #fff1ef;
}

.document-file-name {
    color: var(--student-muted);
    background: #f5f8fa;
}

.document-locked {
    margin-top: auto;
    color: #44606f;
    background: #f2f7fa;
}

.document-upload-zone {
    margin-top: auto;
}

.document-upload {
    border-radius: 8px;
}

.document-upload .rz-fileupload {
    border-radius: 8px;
}

.document-selected-file {
    margin-top: 0.6rem;
    color: #107c41;
    background: #e6f6ed;
}

.documents-action-bar {
    position: sticky;
    bottom: 0.75rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--student-border);
    box-shadow: var(--student-shadow);
    backdrop-filter: blur(10px);
}

.documents-action-bar strong,
.documents-action-bar span {
    display: block;
}

.documents-action-bar span {
    margin-top: 0.2rem;
    color: var(--student-muted);
}

.personal-info-page {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.personal-info-hero {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 2rem;
    color: #ffffff;
    background: linear-gradient(135deg, #0b668c 0%, #48afd1 100%);
    border-radius: 8px;
    box-shadow: var(--student-shadow);
}

.personal-info-hero h1 {
    margin: 0;
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
}

.personal-info-hero p:not(.eyebrow) {
    max-width: 48rem;
    margin: 0.5rem 0 0;
    color: rgba(255, 255, 255, 0.9);
}

.personal-info-student-card {
    min-width: 260px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.24);
}

.personal-info-student-card > span {
    width: 46px;
    height: 46px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--student-primary);
    background: #ffffff;
    font-weight: 800;
}

.personal-info-student-card strong,
.personal-info-student-card small {
    display: block;
}

.personal-info-student-card small {
    margin-top: 0.2rem;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
}

.personal-info-card {
    padding: 0;
}

.personal-info-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.personal-info-section {
    margin: 0;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: #ffffff;
    overflow: hidden;
}

.personal-info-section .rz-fieldset-content {
    padding: 1.25rem;
}

.personal-section-title {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    color: var(--student-ink);
    font-weight: 800;
    text-transform: none;
}

.personal-section-title .rz-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    color: var(--student-primary);
    background: var(--student-primary-soft);
}

.personal-info-section .rz-label {
    margin-bottom: 0.35rem;
    color: #244557;
    font-weight: 800;
}

.personal-info-section .rz-row {
    row-gap: 1rem;
}

.personal-responsible-list {
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--student-border);
    border-radius: 8px;
    background: #f8fbfd;
}

.personal-info-action-bar {
    position: sticky;
    bottom: 0.75rem;
    z-index: 5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--student-border);
    box-shadow: var(--student-shadow);
    backdrop-filter: blur(10px);
}

.personal-info-action-bar strong,
.personal-info-action-bar span {
    display: block;
}

.personal-info-action-bar span {
    margin-top: 0.2rem;
    /*color: var(--student-muted);*/
}

@media (max-width: 768px) {
    .student-content {
        width: min(100% - 1rem, 1180px);
        padding-top: 1rem;
    }

    .student-header-row {
        padding: 0 0.75rem;
    }

    .student-brand-subtitle {
        display: none;
    }

    .dashboard-hero {
        align-items: flex-start;
        flex-direction: column;
        padding: 1.25rem;
        background:
            linear-gradient(135deg, rgba(7, 91, 132, 0.97), rgba(47, 155, 199, 0.88));
    }

    .dashboard-hero h1 {
        font-size: 1.55rem;
    }

    .quick-card {
        min-height: auto;
    }

    .documents-hero,
    .personal-info-hero,
    .documents-panel-header,
    .documents-action-bar,
    .personal-info-action-bar {
        align-items: flex-start;
        flex-direction: column;
    }

    .document-grid {
        grid-template-columns: 1fr;
    }

    .documents-progress-card {
        width: 100%;
        text-align: left;
    }

    .personal-info-student-card {
        width: 100%;
        min-width: 0;
    }

    .personal-info-hero h1 {
        font-size: 1.55rem;
    }
}

