* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background: #eef1f5;
    color: #1f2a44;
}

.site-wrapper {
    min-height: 100vh;
}

.top-nav {
    background: #162447;
    color: white;
    padding: 18px 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 6px 20px rgba(22, 36, 71, 0.12);
}

.brand-block {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, #1f4068, #3b5998);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: bold;
}

.brand-title {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 2px;
}

.brand-subtitle {
    font-size: 13px;
    color: #c8d0df;
}

.nav-links {
    display: flex;
    gap: 22px;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    padding-bottom: 3px;
    border-bottom: 2px solid transparent;
    transition: 0.2s ease;
}

.nav-links a:hover {
    border-bottom: 2px solid #9fb3d9;
    color: #dfe8f7;
}

.page-container {
    max-width: 1180px;
    margin: 0 auto;
    padding: 36px 24px 50px;
}

.page-header {
    margin-bottom: 28px;
}

.section-kicker {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #3b5998;
    margin-bottom: 8px;
}

.page-heading {
    font-size: 34px;
    color: #162447;
    margin-bottom: 10px;
}

.page-subheading {
    font-size: 15px;
    color: #6c7586;
    line-height: 1.7;
    max-width: 800px;
}

.hero-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 28px;
    background: white;
    border-radius: 24px;
    padding: 36px;
    box-shadow: 0 12px 30px rgba(22, 36, 71, 0.08);
    margin-bottom: 28px;
}

.hero-buttons {
    margin-top: 24px;
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.primary-button,
.secondary-button {
    border: none;
    border-radius: 12px;
    padding: 12px 20px;
    font-size: 14px;
    text-decoration: none;
    cursor: pointer;
    transition: 0.2s ease;
    display: inline-block;
}

.primary-button {
    background: #162447;
    color: white;
}

.primary-button:hover {
    background: #0f1a35;
}

.secondary-button {
    background: #e4e8ef;
    color: #162447;
}

.secondary-button:hover {
    background: #d8dee8;
}

.feature-panel {
    background: linear-gradient(180deg, #f5f7fb, #edf1f7);
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #d8deea;
}

.feature-panel h3 {
    color: #162447;
    margin-bottom: 14px;
    font-size: 20px;
}

.feature-panel ul {
    padding-left: 18px;
    color: #6c7586;
    line-height: 1.9;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.nav-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    text-decoration: none;
    box-shadow: 0 10px 24px rgba(22, 36, 71, 0.06);
    border: 1px solid #dde3ed;
    transition: 0.2s ease;
}

.nav-card:hover {
    transform: translateY(-4px);
}

.nav-card h3 {
    color: #162447;
    margin-bottom: 10px;
    font-size: 20px;
}

.nav-card p {
    color: #6c7586;
    line-height: 1.7;
    font-size: 14px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 28px;
}

.info-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #dde3ed;
    box-shadow: 0 10px 24px rgba(22, 36, 71, 0.06);
}

.info-card h3 {
    color: #162447;
    font-size: 16px;
    margin-bottom: 14px;
}

.big-number {
    font-size: 34px;
    color: #1f4068;
    font-weight: bold;
    margin-bottom: 10px;
}

.info-card span {
    color: #7a8395;
    font-size: 14px;
}

.table-card,
.results-panel,
.results-overview-card {
    background: white;
    border-radius: 20px;
    padding: 24px;
    border: 1px solid #dde3ed;
    box-shadow: 0 10px 24px rgba(22, 36, 71, 0.06);
    margin-bottom: 24px;
}

.table-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 18px;
    gap: 12px;
}

.table-title-row h3,
.results-panel h3 {
    color: #162447;
    font-size: 20px;
}

.custom-table {
    width: 100%;
}

.table-head,
.table-body-row {
    display: grid;
    grid-template-columns: 1.5fr 1.5fr 1fr 1fr;
    gap: 14px;
    padding: 14px 8px;
}

.table-head {
    color: #7a8395;
    font-size: 13px;
    font-weight: bold;
    border-bottom: 1px solid #e2e7f0;
}

.table-body-row {
    color: #22304d;
    font-size: 14px;
    border-bottom: 1px solid #edf1f7;
}

.table-body-row:last-child {
    border-bottom: none;
}

.status-badge {
    background: #dce6f7;
    color: #1f4068;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
}

.persona-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.persona-card {
    position: relative;
    background: linear-gradient(145deg, #ffffff, #f7f9fd);
    border-radius: 28px;
    padding: 28px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.4);
    box-shadow:
        0 12px 30px rgba(22, 36, 71, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.7);
    transition: all 0.3s ease;
}

.persona-card:hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow:
        0 20px 40px rgba(31, 64, 104, 0.18),
        inset 0 1px 0 rgba(255,255,255,0.7);
}

.persona-card::before {
    content: "";
    position: absolute;
    top: -60px;
    right: -60px;
    width: 160px;
    height: 160px;
    background: linear-gradient(
        135deg,
        rgba(59, 89, 152, 0.16),
        rgba(143, 166, 214, 0.06)
    );
    border-radius: 50%;
}

.persona-top-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 18px;
    position: relative;
    z-index: 2;
}

.persona-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: linear-gradient(135deg, #162447, #3b5998, #7c9ad6);
    box-shadow: 0 10px 20px rgba(31, 64, 104, 0.25);
    position: relative;
}

.persona-icon::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 12px;
    background: rgba(255,255,255,0.18);
}

.persona-card h3 {
    font-size: 22px;
    color: #162447;
    font-weight: 700;
}

.persona-description {
    color: #5c6678;
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.persona-focus-box {
    background: rgba(255,255,255,0.65);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.5);
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 22px;
    position: relative;
    z-index: 2;
}

.persona-focus-box::before {
    content: "";
    position: absolute;
    left: 0;
    top: 18px;
    width: 5px;
    height: 50px;
    border-radius: 999px;
    background: linear-gradient(180deg, #162447, #5f84d6);
}

.persona-focus-box strong {
    color: #162447;
    font-size: 16px;
}

.persona-focus-box p {
    margin-top: 8px;
    color: #667085;
    line-height: 1.7;
    font-size: 14px;
}

.card-actions {
    display: flex;
    gap: 12px;
    position: relative;
    z-index: 2;
}

.card-actions .secondary-button {
    background: linear-gradient(135deg, #edf2fb, #dbe5f5);
    border-radius: 999px;
    padding: 11px 18px;
    border: none;
    transition: 0.25s ease;
    font-weight: 600;
}

.card-actions .secondary-button:hover {
    background: linear-gradient(135deg, #162447, #355c9a);
    color: white;
    transform: translateY(-2px);
}

.results-overview-card {
    display: flex;
    align-items: center;
    gap: 22px;
}

.score-circle {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #162447, #355c9a);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
    box-shadow: 0 10px 24px rgba(22, 36, 71, 0.16);
}

.results-title {
    color: #162447;
    font-size: 22px;
    margin-bottom: 8px;
}

.results-subtitle {
    color: #6c7586;
    font-size: 15px;
}

.progress-row {
    display: grid;
    grid-template-columns: 180px 1fr 70px;
    gap: 14px;
    align-items: center;
    margin-bottom: 16px;
}

.progress-label,
.progress-score {
    color: #22304d;
    font-size: 14px;
}

.progress-track {
    height: 12px;
    background: #e4e9f2;
    border-radius: 999px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #162447, #3b5998);
    border-radius: 999px;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.styled-list {
    padding-left: 18px;
    color: #6c7586;
    line-height: 1.9;
    font-size: 14px;
}

.button-small {
    padding: 10px 16px;
    font-size: 13px;
}

@media (max-width: 980px) {
    .hero-card,
    .quick-links-grid,
    .stats-grid,
    .persona-grid,
    .two-column-grid {
        grid-template-columns: 1fr;
    }

    .top-nav {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .nav-links {
        flex-wrap: wrap;
    }

    .table-head,
    .table-body-row,
    .progress-row {
        grid-template-columns: 1fr;
    }

    .results-overview-card {
        flex-direction: column;
        align-items: flex-start;
    }
}
.question-form {
    margin-top: 12px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 8px;
    color: #162447;
    font-weight: 600;
    font-size: 14px;
}

.form-group select {
    padding: 12px;
    border: 1px solid #d4dce8;
    border-radius: 10px;
    background: #f8fafc;
    color: #22304d;
    font-size: 14px;
}

.form-group select:focus {
    outline: none;
    border-color: #3b5998;
}

@media (max-width: 980px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
}
.language-toggle {
    display: flex;
    gap: 12px;
    margin-top: 12px;
}

.language-toggle select {
    padding: 10px;
    border-radius: 8px;
    border: 1px solid #ccd3df;
    background: #f8fafc;
}

.message-box {
    background: #f4f7fb;
    border-radius: 10px;
    padding: 14px;
    margin: 10px 0 18px;
    color: #22304d;
    line-height: 1.6;
}

.message-box.highlight {
    background: #e8eef9;
    border-left: 4px solid #1f4068;
}
.risk-alert {
    border-radius: 14px;
    padding: 18px;
    margin-top: 12px;
    border-left: 6px solid;
}

.risk-alert p {
    margin-top: 10px;
    color: #22304d;
    line-height: 1.6;
}

.risk-badge {
    display: inline-block;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 6px;
}

.risk-high {
    background: #fdeaea;
    border-color: #c0392b;
}

.risk-high .risk-badge {
    background: #c0392b;
    color: white;
}

.risk-moderate {
    background: #fff4e5;
    border-color: #d68910;
}

.risk-moderate .risk-badge {
    background: #d68910;
    color: white;
}

.risk-low {
    background: #eaf7ee;
    border-color: #2e8b57;
}

.risk-low .risk-badge {
    background: #2e8b57;
    color: white;
}
.table-container {
    width: 100%;
    margin-top: 10px;
}

.table-header {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr;
    padding: 14px 16px;
    font-weight: bold;
    color: #7a8395;
    border-bottom: 1px solid #e2e7f0;
}

.table-row {
    display: grid;
    grid-template-columns: 2fr 2fr 1fr 1fr;
    padding: 16px;
    align-items: center;
    border-bottom: 1px solid #edf1f7;
    background: white;
    border-radius: 10px;
    margin-bottom: 8px;
    box-shadow: 0 4px 10px rgba(22, 36, 71, 0.05);
}

.table-row:hover {
    background: #f8fafc;
}

.status-pill {
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: bold;
    display: inline-block;
}

/* status colours */
.status-pill {
    background: #dce6f7;
    color: #1f4068;
}

.form-group {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}

.form-group input,
.form-group textarea {
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #d8deea;
    background: #f8fafc;
    font-size: 14px;
    color: #22304d;
}

.form-group textarea {
    resize: vertical;
}

.edit-persona-card {
    background: linear-gradient(145deg, #ffffff, #f7f9fd);
    border-radius: 28px;
    padding: 34px;
    border: 1px solid #dde3ed;
    box-shadow: 0 14px 34px rgba(22, 36, 71, 0.08);
    max-width: 900px;
}

.edit-persona-card .form-group {
    margin-bottom: 22px;
}

.edit-persona-card label {
    color: #162447;
    font-weight: 700;
    margin-bottom: 8px;
    font-size: 15px;
}

.edit-persona-card input,
.edit-persona-card textarea {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    border: 1px solid #d8deea;
    background: #f8fafc;
    color: #22304d;
    font-size: 15px;
    font-family: Arial, sans-serif;
    outline: none;
    transition: 0.2s ease;
}

.edit-persona-card input:focus,
.edit-persona-card textarea:focus {
    border-color: #3b5998;
    box-shadow: 0 0 0 4px rgba(59, 89, 152, 0.12);
    background: white;
}

.edit-persona-actions {
    display: flex;
    gap: 14px;
    margin-top: 8px;
}

.edit-persona-actions .primary-button,
.edit-persona-actions .secondary-button {
    border-radius: 999px;
    font-weight: 700;
}

.modern-home-hero {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(145deg, #ffffff, #f7f9fd);
    border: 1px solid rgba(255,255,255,0.5);
    box-shadow:
        0 18px 40px rgba(22, 36, 71, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.modern-home-hero::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(59, 89, 152, 0.08);
    top: -120px;
    right: -120px;
}

.modern-home-hero .page-heading {
    font-size: 48px;
    line-height: 1.05;
    letter-spacing: -1.5px;
    max-width: 700px;
    font-weight: 800;
}

.modern-home-hero .page-subheading {
    font-size: 16px;
    line-height: 1.9;
    max-width: 650px;
}

.modern-home-hero .hero-buttons {
    margin-top: 28px;
}

.modern-home-hero .primary-button,
.modern-home-hero .secondary-button {
    padding: 14px 22px;
    border-radius: 14px;
    font-weight: 700;
    transition: 0.25s ease;
}

.modern-home-hero .primary-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(22, 36, 71, 0.18);
}

.modern-home-hero .secondary-button:hover {
    transform: translateY(-2px);
}

.modern-feature-panel {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(145deg, #f7f9fd, #eef3fb);
    border: 1px solid #dde3ed;
    padding: 30px;
}

.modern-feature-panel::before {
    content: "";
    position: absolute;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: rgba(59, 89, 152, 0.08);
    top: -70px;
    right: -70px;
}

.modern-feature-panel h3 {
    position: relative;
    z-index: 2;
    font-size: 24px;
    margin-bottom: 20px;
}

.modern-feature-panel ul {
    position: relative;
    z-index: 2;
}

.modern-feature-panel li {
    margin-bottom: 12px;
}

.modern-nav-card {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    background:
        linear-gradient(145deg, #ffffff, #f7f9fd);
    padding: 30px;
    transition: 0.3s ease;
}

.modern-nav-card::before {
    content: "";
    position: absolute;
    width: 170px;
    height: 170px;
    background: rgba(59, 89, 152, 0.06);
    border-radius: 50%;
    top: -70px;
    right: -70px;
}

.modern-nav-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 24px 40px rgba(22, 36, 71, 0.12);
}

.modern-nav-card h3 {
    position: relative;
    z-index: 2;
    font-size: 24px;
    margin-bottom: 14px;
}

.modern-nav-card p {
    position: relative;
    z-index: 2;
    line-height: 1.8;
    font-size: 15px;
}

/* MODERN RESULTS PAGE UPGRADES */

.modern-results-overview {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding: 34px;
    background: linear-gradient(145deg, #ffffff, #f7f9fd);
    border: 1px solid rgba(255,255,255,0.6);
    box-shadow:
        0 18px 40px rgba(22, 36, 71, 0.08),
        inset 0 1px 0 rgba(255,255,255,0.8);
}

.modern-results-overview::before {
    content: "";
    position: absolute;
    width: 230px;
    height: 230px;
    border-radius: 50%;
    background: rgba(59, 89, 152, 0.08);
    top: -100px;
    right: -90px;
}

.modern-results-overview .score-circle {
    width: 112px;
    height: 112px;
    font-size: 34px;
    border-radius: 32px;
    background: linear-gradient(135deg, #162447, #3b5998, #7c9ad6);
    position: relative;
    z-index: 2;
}

.modern-results-overview .results-title,
.modern-results-overview .results-subtitle {
    position: relative;
    z-index: 2;
}

.modern-results-overview .results-title {
    font-size: 28px;
    font-weight: 800;
}

.modern-results-panel {
    border-radius: 28px;
    padding: 30px;
    background: linear-gradient(145deg, #ffffff, #f8fafd);
    box-shadow:
        0 14px 34px rgba(22, 36, 71, 0.07),
        inset 0 1px 0 rgba(255,255,255,0.75);
}

.modern-results-panel h3 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 14px;
}

.modern-results-panel .message-box {
    border-radius: 18px;
    padding: 18px;
    background: #f4f7fb;
}

.modern-results-panel .message-box.highlight {
    background: #e9effa;
    border-left: 5px solid #3b5998;
}

.risk-alert {
    border-radius: 22px;
    padding: 22px;
}

.risk-badge {
    border-radius: 999px;
    padding: 9px 16px;
}

.language-toggle select {
    border-radius: 14px;
    padding: 13px 14px;
}

.progress-row {
    background: #f6f8fc;
    border-radius: 18px;
    padding: 16px;
    margin-bottom: 14px;
}

.progress-track {
    height: 14px;
}

.progress-fill {
    background: linear-gradient(90deg, #162447, #4f73ba, #8aa5df);
}

.modern-two-column .modern-results-panel {
    min-height: 260px;
}

.styled-list li {
    margin-bottom: 10px;
}

.teacher-review-top,
.modern-results-panel .card-actions {
    margin-top: 18px;
}

.modern-results-panel .primary-button,
.modern-results-panel .secondary-button {
    border-radius: 999px;
    font-weight: 700;
}

@media (max-width: 980px) {
    .modern-results-overview {
        align-items: flex-start;
    }

    .modern-results-overview .score-circle {
        width: 96px;
        height: 96px;
    }
}

/* BIG RESULTS REDESIGN */

.results-hero {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 36px;
    align-items: center;
    background: linear-gradient(145deg, #ffffff, #f7f9fd);
    border-radius: 34px;
    padding: 40px;
    margin-bottom: 28px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 18px 40px rgba(22, 36, 71, 0.08);
}

.results-hero::before {
    content: "";
    position: absolute;
    width: 260px;
    height: 260px;
    background: rgba(59, 89, 152, 0.08);
    border-radius: 50%;
    top: -120px;
    right: -100px;
}

.results-score-section {
    position: relative;
    z-index: 2;
    text-align: center;
}

.large-score-circle {
    width: 160px;
    height: 160px;
    border-radius: 40px;
    background: linear-gradient(135deg, #162447, #355c9a, #7c9ad6);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
    font-weight: 800;
    margin: auto;
    box-shadow: 0 20px 36px rgba(22, 36, 71, 0.18);
}

.score-label {
    margin-top: 18px;
    color: #667085;
    font-weight: 700;
}

.results-hero-content {
    position: relative;
    z-index: 2;
}

.results-hero-title {
    font-size: 42px;
    line-height: 1.05;
    color: #162447;
    margin-bottom: 16px;
    font-weight: 800;
}

.results-hero-subtitle {
    color: #667085;
    line-height: 1.9;
    max-width: 760px;
    margin-bottom: 24px;
    font-size: 16px;
}

.results-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
    margin-bottom: 24px;
}

.comparison-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.comparison-section label {
    display: block;
    margin-bottom: 10px;
    color: #162447;
    font-weight: 700;
}

.modern-language-toggle {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.modern-language-toggle select {
    width: 100%;
}

.results-panel-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.results-panel-top span {
    color: #7a8395;
    font-size: 14px;
}

.modern-progress-card {
    background: #f7f9fd;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 18px;
}

.modern-progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 12px;
    font-weight: 700;
    color: #22304d;
}

.modern-progress-track {
    height: 14px;
    background: #dfe6f2;
    border-radius: 999px;
    overflow: hidden;
}

.modern-progress-fill {
    height: 100%;
    border-radius: 999px;
    background: linear-gradient(90deg, #162447, #4f73ba, #8ba6e0);
}

.teacher-review-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
}

@media (max-width: 980px) {

    .results-hero,
    .results-grid,
    .teacher-review-section {
        grid-template-columns: 1fr;
        flex-direction: column;
        align-items: flex-start;
    }

    .results-hero-title {
        font-size: 34px;
    }

    .large-score-circle {
        width: 130px;
        height: 130px;
        font-size: 42px;
    }
}

/* JAVASCRIPT NOTIFICATIONS */

.custom-notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: linear-gradient(135deg, #162447, #355c9a);
    color: white;
    padding: 16px 22px;
    border-radius: 18px;
    font-weight: 600;
    box-shadow: 0 14px 30px rgba(22, 36, 71, 0.25);
    opacity: 0;
    transform: translateY(-20px);
    transition: 0.3s ease;
    z-index: 9999;
}

.custom-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.modern-progress-fill {
    transition: width 1s ease;
}

/* =========================================================
   CULTUREMAG PERSONA REDESIGN
   ========================================================= */


/* =========================
   PERSONA PAGE HEADER
   ========================= */

.persona-page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 30px;
    margin-bottom: 28px;
}

.persona-header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.persona-search {
    width: 270px;
    height: 46px;
    background: white;
    border: 1px solid #dce3ee;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0 14px;
}

.persona-search span {
    font-size: 20px;
    color: #61708c;
}

.persona-search input {
    width: 100%;
    border: none;
    outline: none;
    background: transparent;
    color: #162447;
    font-size: 14px;
}

.persona-search input::placeholder {
    color: #8590a3;
}

.add-persona-button {
    height: 46px;
    padding-left: 22px;
    padding-right: 22px;
}



/* =========================
   PERSONA GRID
   ========================= */

.persona-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}



/* =========================
   PERSONA CARD
   ========================= */

.persona-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e1e6ef;
    border-radius: 18px;
    padding: 24px;
    box-shadow:
        0 8px 24px rgba(22, 36, 71, 0.06);

    display: flex;
    flex-direction: column;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.persona-card:hover {
    transform: translateY(-5px);

    box-shadow:
        0 16px 35px rgba(22, 36, 71, 0.12);
}


/* remove old decorative circle */

.persona-card::before {
    display: none;
}



/* card heading */

.persona-card-header {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 16px;
}

.persona-avatar {
    width: 78px;
    height: 78px;
    min-width: 78px;

    border-radius: 50%;
    object-fit: cover;

    background: #dce7f6;

    border: 5px solid #e3ecf8;
}

.persona-card-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.persona-type-badge {
    display: inline-block;

    background: #e7f0fc;
    color: #225b9c;

    padding: 5px 8px;

    border-radius: 6px;

    text-transform: uppercase;

    font-size: 9px;
    letter-spacing: 0.4px;
    font-weight: 700;

    margin-bottom: 8px;
}

.persona-card h3 {
    font-size: 19px;
    line-height: 1.2;
    color: #102a59;
    margin: 0;
}



/* description */

.persona-description {
    color: #4f5b70;
    font-size: 14px;
    line-height: 1.65;
    margin-bottom: 20px;

    flex-grow: 1;
}



/* focus */

.persona-focus-box {
    position: relative;

    background: #f8fafc;

    border: none;
    border-radius: 12px;

    padding: 16px 16px 16px 20px;

    margin-bottom: 18px;

    min-height: 105px;
}

.persona-focus-box::before {
    content: "";

    position: absolute;

    left: 0;
    top: 16px;
    bottom: 16px;

    width: 3px;
    height: auto;

    background: #4c8ee8;

    border-radius: 20px;
}

.persona-focus-box strong {
    font-size: 13px;
    color: #132e5c;
}

.persona-focus-box p {
    margin-top: 8px;

    color: #566177;

    line-height: 1.6;
    font-size: 13px;
}



/* View Profile */

.view-persona-button {
    border: none;
    background: transparent;

    padding: 6px 0;

    color: #174d93;

    font-weight: 700;
    font-size: 13px;

    cursor: pointer;

    display: flex;
    align-items: center;
    gap: 8px;

    align-self: flex-start;

    transition: 0.2s ease;
}

.view-persona-button:hover {
    gap: 13px;
    color: #0e3269;
}



/* edit / delete */

.persona-card-bottom-actions {
    display: flex;
    gap: 10px;

    margin-top: 12px;
}

.persona-small-action {
    border: none;

    background: #eaf0f8;
    color: #173665;

    border-radius: 999px;

    font-size: 11px;
    font-weight: 700;

    padding: 7px 13px;

    cursor: pointer;
    text-decoration: none;

    transition: 0.2s ease;
}

.persona-small-action:hover {
    background: #dce7f5;
}



/* =========================================================
   MODAL BACKGROUND
   ========================================================= */

body.modal-open {
    overflow: hidden;
}

.persona-modal-overlay {
    position: fixed;
    inset: 0;

    background:
        rgba(9, 18, 35, 0.66);

    backdrop-filter: blur(2px);

    display: flex;
    justify-content: center;
    align-items: center;

    padding: 25px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;

    z-index: 9999;
}

.persona-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}



/* =========================================================
   MODAL CARD
   ========================================================= */

.persona-modal {
    position: relative;

    width: min(820px, 94vw);

    max-height: 92vh;
    overflow-y: auto;

    background: white;

    border-radius: 17px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.32);

    transform:
        translateY(20px)
        scale(0.97);

    transition:
        transform 0.28s ease;

    color: #172544;
}

.persona-modal-overlay.active
.persona-modal {
    transform:
        translateY(0)
        scale(1);
}



/* close X */

.persona-modal-close {
    position: absolute;

    top: 22px;
    right: 24px;

    z-index: 5;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    background: transparent;

    color: #24344f;

    font-size: 31px;
    font-weight: 300;

    cursor: pointer;

    border-radius: 50%;

    transition: 0.2s ease;
}

.persona-modal-close:hover {
    background: #f0f3f8;
}



/* =========================================================
   MODAL HEADER
   ========================================================= */

.persona-modal-header {
    display: grid;

    grid-template-columns:
        190px 1fr;

    align-items: center;

    gap: 34px;

    padding:
        44px
        48px
        34px;
}

.persona-modal-avatar {
    width: 175px;
    height: 175px;

    border-radius: 50%;

    object-fit: cover;

    background: #dfe9f7;

    border:
        9px solid #dce9fa;
}

.persona-modal-intro {
    min-width: 0;
}

.persona-modal-intro h2 {
    color: #06275d;

    font-size: 32px;
    line-height: 1.1;

    margin-bottom: 8px;

    font-weight: 800;
}

.persona-modal-role {
    color: #143e79;

    font-size: 17px;
    font-weight: 600;

    margin-bottom: 23px;
}



/* quote */

.persona-quote {
    position: relative;

    display: flex;

    padding:
        0
        30px;

    max-width: 500px;
}

.persona-quote p {
    color: #16305d;

    font-size: 16px;
    line-height: 1.6;

    font-style: italic;
}

.quote-mark {
    position: absolute;

    color: #d3e0f3;

    font-family: Georgia, serif;

    font-size: 54px;

    line-height: 1;
}

.quote-left {
    left: 0;
    top: -9px;
}

.quote-right {
    right: 0;
    bottom: -25px;
}



/* divider */

.persona-modal-divider {
    height: 1px;

    background: #dce3ed;

    margin: 0 48px;
}



/* =========================================================
   MODAL BODY
   ========================================================= */

.persona-modal-body {
    display: grid;

    grid-template-columns:
        1fr 1.18fr;

    padding:
        30px
        48px
        36px;
}

.persona-modal-column {
    padding-right: 32px;
}

.persona-right-column {
    padding-right: 0;
    padding-left: 32px;

    border-left:
        1px solid #dce3ed;
}



/* sections */

.persona-detail-section {
    margin-bottom: 38px;
}

.persona-detail-section:last-child {
    margin-bottom: 0;
}

.persona-detail-section h3 {
    color: #12366e;

    font-size: 14px;

    letter-spacing: 0.3px;

    font-weight: 800;

    margin-bottom: 18px;
}

.persona-detail-section > p {
    color: #293750;

    font-size: 14px;

    line-height: 1.65;
}



/* =========================================================
   KEY NEEDS
   ========================================================= */

.persona-needs-section {
    margin-top: 58px;
}

.persona-needs-list {
    list-style: none;
    padding: 0;
    margin: 0;

    display: flex;
    flex-direction: column;
    gap: 18px;
}

.persona-needs-list li {
    display: flex;
    align-items: center;

    gap: 14px;

    color: #26334b;

    font-size: 14px;
}

.need-check {
    width: 20px;
    height: 20px;

    border-radius: 50%;

    border:
        1.8px solid #31a866;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #31a866;

    font-size: 12px;
    font-weight: 800;

    flex-shrink: 0;
}



/* =========================================================
   COMMUNICATION PREFERENCES
   ========================================================= */

.preference-row {
    display: grid;

    grid-template-columns:
        42px 1.15fr 1fr;

    align-items: center;

    gap: 10px;

    margin-bottom: 15px;
}

.preference-icon {
    width: 38px;
    height: 38px;

    border-radius: 50%;

    background: #e9f1fc;
    color: #275c9f;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 16px;
}

.preference-label {
    font-size: 13px;
    color: #293750;
}

.preference-value {
    font-size: 13px;
    color: #293750;

    font-weight: 500;
}



/* =========================================================
   CULTURAL CONSIDERATIONS
   ========================================================= */

.persona-cultural-section {
    border-top:
        1px solid #dce3ed;

    padding-top: 27px;

    margin-top: 34px;
}

.persona-consideration-list {
    padding-left: 21px;
    margin: 0;

    color: #293750;
}

.persona-consideration-list li {
    padding-left: 5px;

    margin-bottom: 13px;

    line-height: 1.55;

    font-size: 14px;
}

.persona-consideration-list li::marker {
    color: #16477f;
}



/* =========================================================
   MODAL FOOTER
   ========================================================= */

.persona-modal-footer {
    border-top:
        1px solid #dce3ed;

    padding:
        24px
        40px;

    display: flex;

    justify-content: center;

    background: #fbfcfe;

    border-radius:
        0 0 17px 17px;
}

.use-persona-button {
    min-width: 280px;

    padding:
        15px 28px;

    border-radius: 7px;

    background:
        linear-gradient(
            90deg,
            #0c3470,
            #12529d
        );

    color: white;

    text-decoration: none;

    display: flex;
    align-items: center;
    justify-content: center;

    gap: 12px;

    font-size: 16px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.use-persona-button:hover {
    transform: translateY(-2px);

    box-shadow:
        0 10px 24px
        rgba(13, 64, 132, 0.22);
}

.use-persona-icon {
    font-size: 21px;
}



/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .persona-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

    .persona-page-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .persona-header-actions {
        width: 100%;
    }

    .persona-search {
        flex-grow: 1;
    }

}



/* =========================================================
   SMALL TABLET / MOBILE MODAL
   ========================================================= */

@media (max-width: 760px) {

    .persona-grid {
        grid-template-columns: 1fr;
    }

    .persona-header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .persona-search {
        width: 100%;
    }

    .persona-modal-overlay {
        align-items: flex-start;
        padding: 15px;
    }

    .persona-modal {
        margin-top: 10px;
        max-height: calc(100vh - 30px);
    }

    .persona-modal-header {
        grid-template-columns: 1fr;

        text-align: center;

        padding:
            48px
            25px
            28px;
    }

    .persona-modal-avatar {
        width: 145px;
        height: 145px;

        margin: auto;
    }

    .persona-modal-intro h2 {
        font-size: 27px;
    }

    .persona-quote {
        margin: auto;
        text-align: left;
    }

    .persona-modal-divider {
        margin: 0 25px;
    }

    .persona-modal-body {
        grid-template-columns: 1fr;

        padding:
            25px;
    }

    .persona-modal-column {
        padding: 0;
    }

    .persona-right-column {
        border-left: none;
        padding-left: 0;

        border-top:
            1px solid #dce3ed;

        padding-top: 28px;
        margin-top: 30px;
    }

    .persona-needs-section {
        margin-top: 35px;
    }

}



/* =========================================================
   PHONE
   ========================================================= */

@media (max-width: 500px) {

    .preference-row {
        grid-template-columns:
            40px 1fr;
    }

    .preference-value {
        grid-column: 2;

        color: #667085;

        margin-top: -7px;
    }

    .use-persona-button {
        min-width: 100%;
    }

}

/* =========================================================
   PERSONA CARD POLISH
   ========================================================= */

.persona-card {
    min-height: 365px;
    padding: 24px;
    border-radius: 18px;

    display: flex;
    flex-direction: column;

    box-shadow:
        0 10px 26px rgba(22, 36, 71, 0.07);
}

.persona-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 16px 34px rgba(22, 36, 71, 0.11);
}


/* bigger portraits */

.persona-avatar {
    width: 88px;
    height: 88px;
    min-width: 88px;

    border-radius: 50%;
    object-fit: cover;

    background: #eef4fb;

    border: 5px solid #dce9f8;
}


/* tighter card heading */

.persona-card-header {
    display: flex;
    align-items: center;

    gap: 16px;

    margin-bottom: 18px;
}

.persona-card-heading {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 2px;
}

.persona-type-badge {
    margin-bottom: 5px;
}

.persona-card h3 {
    font-size: 20px;
    line-height: 1.2;

    color: #0d2d61;
}


/* description */

.persona-description {
    min-height: 68px;

    font-size: 14px;
    line-height: 1.65;

    color: #4c5870;

    margin-bottom: 18px;
}


/* key focus box */

.persona-focus-box {
    min-height: 105px;

    padding: 15px 16px 15px 20px;

    margin-bottom: 16px;

    border-radius: 11px;

    background: #f7f9fc;
}

.persona-focus-box strong {
    color: #14376b;

    font-size: 13px;
}

.persona-focus-box p {
    font-size: 13px;

    line-height: 1.55;

    color: #59657b;
}


/* View Profile becomes main card action */

.view-persona-button {
    margin-top: auto;

    padding: 8px 0 5px;

    color: #114d92;

    font-size: 13px;
    font-weight: 800;

    letter-spacing: 0.1px;
}

.view-persona-button span {
    font-size: 18px;

    transition: transform 0.2s ease;
}

.view-persona-button:hover span {
    transform: translateX(4px);
}


/* make edit/delete much quieter */

.persona-card-bottom-actions {
    display: flex;
    gap: 7px;

    margin-top: 9px;
}

.persona-small-action {
    padding: 5px 11px;

    background: #f1f4f8;

    color: #536177;

    border: 1px solid #e4e9f0;

    font-size: 10px;
    font-weight: 600;
}

.persona-small-action:hover {
    background: #e8edf4;

    color: #223a61;
}


/* slightly wider overall card area */

.persona-grid {
    gap: 26px;
}


/* responsive */

@media (max-width: 1000px) {

    .persona-card {
        min-height: auto;
    }

}

@media (max-width: 600px) {

    .persona-avatar {
        width: 76px;
        height: 76px;
        min-width: 76px;
    }

}

/* =========================================================
   PERSONA FINAL ALIGNMENT TWEAKS
   ========================================================= */

/* keep all cards visually even */
.persona-card {
    min-height: 345px;
}

/* make the card title area the same height */
.persona-card-heading {
    min-height: 46px;
    justify-content: center;
}

/* keep descriptions aligned */
.persona-description {
    min-height: 72px;
}

/* keep key focus boxes aligned */
.persona-focus-box {
    min-height: 86px;
}

/* slightly reduce title size so long names fit better */
.persona-card h3 {
    font-size: 18px;
}

/* bring the bottom actions into a consistent position */
.view-persona-button {
    margin-top: auto;
}

.persona-card-bottom-actions {
    margin-top: 8px;
}

/* slightly softer card background/shadow */
.persona-card {
    box-shadow:
        0 8px 22px rgba(22, 36, 71, 0.06);
}

/* make profile images stand out a little more */
.persona-avatar {
    box-shadow:
        0 3px 10px rgba(22, 36, 71, 0.10);
}

/* slightly soften the page background */
body {
    background: #f2f5f9;
}

/* =========================================================
   NAVIGATION PROFILE + DROPDOWN
   ========================================================= */

.nav-right {
    display: flex;
    align-items: center;
    gap: 22px;
}


/* Wrapper controls dropdown position */

.nav-profile-wrapper {
    position: relative;

    padding-left: 18px;

    border-left: 1px solid rgba(255, 255, 255, 0.18);
}


/* Main Profile button */

.nav-profile {
    display: flex;
    align-items: center;
    gap: 9px;

    padding: 5px 7px;

    border: none;
    border-radius: 9px;

    background: transparent;

    font-family: inherit;

    cursor: pointer;

    transition: background 0.2s ease;
}

.nav-profile:hover {
    background: rgba(255, 255, 255, 0.08);
}


/* =========================================================
   PROFILE ICON
   ========================================================= */

.nav-profile-avatar {
    position: relative;

    width: 36px;
    height: 36px;

    flex-shrink: 0;

    border-radius: 50%;

    border: 2px solid rgba(255, 255, 255, 0.75);

    background: rgba(255, 255, 255, 0.08);

    overflow: hidden;
}


/* Head */

.profile-head {
    position: absolute;

    width: 10px;
    height: 10px;

    top: 7px;
    left: 50%;

    transform: translateX(-50%);

    border: 2px solid rgba(255, 255, 255, 0.9);

    border-radius: 50%;
}


/* Shoulders */

.profile-body {
    position: absolute;

    width: 21px;
    height: 13px;

    bottom: 4px;
    left: 50%;

    transform: translateX(-50%);

    border: 2px solid rgba(255, 255, 255, 0.9);

    border-radius: 15px 15px 5px 5px;
}


/* Profile name */

.nav-profile-name {
    color: white;

    font-size: 11px;
    font-weight: 700;
}


/* Arrow */

.profile-chevron {
    color: rgba(255, 255, 255, 0.7);

    font-size: 11px;

    transition: transform 0.2s ease;
}


/* Turn arrow upside down when menu opens */

.nav-profile-wrapper.open .profile-chevron {
    transform: rotate(180deg);
}


/* =========================================================
   PROFILE DROPDOWN
   ========================================================= */

.profile-dropdown {
    position: absolute;

    top: calc(100% + 12px);
    right: 0;

    width: 220px;

    padding: 10px;

    background: white;

    border: 1px solid #dde4ed;
    border-radius: 13px;

    box-shadow:
        0 14px 35px rgba(18, 39, 73, 0.18);

    opacity: 0;
    visibility: hidden;

    transform: translateY(-8px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 9999;
}


/* Open dropdown */

.nav-profile-wrapper.open .profile-dropdown {
    opacity: 1;
    visibility: visible;

    transform: translateY(0);
}


/* =========================================================
   DROPDOWN HEADER
   ========================================================= */

.profile-dropdown-header {
    display: flex;
    align-items: center;

    gap: 11px;

    padding: 9px;
}


.profile-dropdown-header strong {
    display: block;

    color: #162447;

    font-size: 12px;
}


.profile-dropdown-header span {
    display: block;

    margin-top: 3px;

    color: #7a8395;

    font-size: 9px;
}


/* Dropdown avatar */

.profile-dropdown-avatar {
    position: relative;

    width: 40px;
    height: 40px;

    flex-shrink: 0;

    border-radius: 50%;

    background: #e9f1fb;

    border: 1px solid #ccdbee;

    overflow: hidden;
}


.dropdown-profile-head {
    position: absolute;

    width: 10px;
    height: 10px;

    top: 7px;
    left: 50%;

    transform: translateX(-50%);

    border: 2px solid #4773a8;

    border-radius: 50%;
}


.dropdown-profile-body {
    position: absolute;

    width: 22px;
    height: 13px;

    bottom: 4px;
    left: 50%;

    transform: translateX(-50%);

    border: 2px solid #4773a8;

    border-radius: 15px 15px 5px 5px;
}


/* Divider */

.profile-dropdown-divider {
    height: 1px;

    margin: 6px 4px;

    background: #e7ebf1;
}


/* =========================================================
   DROPDOWN BUTTONS
   ========================================================= */

.profile-dropdown-item {
    width: 100%;

    display: flex;
    align-items: center;

    gap: 10px;

    padding: 10px;

    border: none;
    border-radius: 8px;

    background: transparent;

    color: #31445f;

    font-family: inherit;
    font-size: 10px;
    font-weight: 600;

    text-align: left;

    cursor: pointer;

    transition: background 0.2s ease;
}


.profile-dropdown-item:hover {
    background: #f1f5fa;
}


/* Icon boxes */

.dropdown-item-icon {
    width: 27px;
    height: 27px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 7px;

    background: #eaf1fa;

    color: #315f98;

    font-size: 13px;
}


/* Sign Out */

.sign-out-item {
    color: #a44545;
}


.sign-out-item .dropdown-item-icon {
    background: #fceeee;

    color: #b24c4c;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 950px) {

    .nav-profile-name,
    .profile-chevron {
        display: none;
    }

    .nav-profile-wrapper {
        padding-left: 10px;
    }

    .nav-right {
        gap: 12px;
    }

}

/* =========================================================
   INCLUSIVELINK - 5 COLUMN PERSONA LAYOUT
   ========================================================= */

/* Give the persona page enough room for five cards */
.page-container:has(.persona-page-header) {
    max-width: 1600px;
}


/* Five personas per row */
.persona-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;
}


/* Slightly smaller cards for the five-column layout */
.persona-card {
    padding: 18px;
    border-radius: 16px;
}


/* Compact card header */
.persona-card-header {
    gap: 12px;
    margin-bottom: 14px;
}


/* Smaller portrait */
.persona-avatar {
    width: 60px;
    height: 60px;
    min-width: 60px;
    border-width: 4px;
}


/* Persona type badge */
.persona-type-badge {
    font-size: 8px;
    padding: 4px 6px;
    margin-bottom: 6px;
}


/* Persona name */
.persona-card h3 {
    font-size: 17px;
}


/* Description */
.persona-description {
    font-size: 13px;
    line-height: 1.55;
    margin-bottom: 16px;
}


/* Key focus section */
.persona-focus-box {
    padding: 14px 14px 14px 17px;
    margin-bottom: 14px;
    min-height: 100px;
}

.persona-focus-box strong {
    font-size: 12px;
}

.persona-focus-box p {
    font-size: 12px;
    line-height: 1.5;
    margin-top: 6px;
}


/* View Profile */
.view-persona-button {
    font-size: 12px;
}


/* Edit / Delete buttons */
.persona-card-bottom-actions {
    margin-top: 9px;
}

.persona-small-action {
    font-size: 10px;
    padding: 6px 11px;
}


/* =========================================================
   RESPONSIVE PERSONA GRID
   ========================================================= */

/* Smaller desktop / laptop */
@media (max-width: 1350px) {

    .persona-grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

}


/* Tablet / small laptop */
@media (max-width: 1050px) {

    .persona-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


/* Tablet */
@media (max-width: 800px) {

    .persona-page-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .persona-header-actions {
        width: 100%;
    }

    .persona-search {
        flex: 1;
    }

    .persona-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* Mobile */
@media (max-width: 560px) {

    .persona-header-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .persona-search {
        width: 100%;
    }

    .persona-grid {
        grid-template-columns: 1fr;
    }

}

/* =========================================================
   ADD PERSONA MODAL
   ========================================================= */

.add-persona-overlay {
    position: fixed;
    inset: 0;

    background: rgba(9, 18, 35, 0.68);
    backdrop-filter: blur(3px);

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 28px;

    opacity: 0;
    visibility: hidden;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;

    z-index: 10000;
}


.add-persona-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* MODAL CARD */

.add-persona-modal {
    position: relative;

    width: min(860px, 96vw);
    max-height: 92vh;

    overflow-y: auto;

    background: #ffffff;

    border-radius: 20px;

    box-shadow:
        0 30px 80px rgba(0, 0, 0, 0.32);

    transform:
        translateY(18px)
        scale(0.98);

    transition: transform 0.25s ease;
}


.add-persona-overlay.active .add-persona-modal {
    transform:
        translateY(0)
        scale(1);
}


/* CLOSE BUTTON */

.add-persona-close {
    position: absolute;

    top: 20px;
    right: 22px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 50%;

    background: transparent;

    color: #24344f;

    font-size: 30px;

    cursor: pointer;

    transition: 0.2s ease;

    z-index: 5;
}


.add-persona-close:hover {
    background: #eef2f7;
}


/* HEADER */

.add-persona-header {
    display: flex;
    align-items: center;

    gap: 20px;

    padding:
        34px
        42px
        28px;

    border-bottom: 1px solid #e1e6ef;
}


.add-persona-header-icon {
    width: 56px;
    height: 56px;

    min-width: 56px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 16px;

    background:
        linear-gradient(
            135deg,
            #162447,
            #355c9a
        );

    color: white;

    font-size: 30px;
    font-weight: 300;

    box-shadow:
        0 10px 24px
        rgba(22, 36, 71, 0.18);
}


.add-persona-header .section-kicker {
    margin-bottom: 5px;
}


.add-persona-header h2 {
    color: #102a59;

    font-size: 27px;

    margin-bottom: 5px;
}


.add-persona-header p:last-child {
    color: #68758a;

    font-size: 14px;
    line-height: 1.5;
}


/* FORM */

.add-persona-form {
    padding:
        8px
        42px
        34px;
}


.add-persona-section {
    padding:
        28px
        0;

    border-bottom:
        1px solid #e8ecf2;
}


.add-persona-section:last-of-type {
    border-bottom: none;
}


/* SECTION HEADING */

.add-persona-section-heading {
    display: flex;
    align-items: center;

    gap: 14px;

    margin-bottom: 22px;
}


.add-persona-section-heading > span {
    width: 32px;
    height: 32px;

    min-width: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #e7f0fc;
    color: #225b9c;

    font-size: 13px;
    font-weight: 800;
}


.add-persona-section-heading h3 {
    color: #142d59;

    font-size: 17px;

    margin-bottom: 3px;
}


.add-persona-section-heading p {
    color: #7a8597;

    font-size: 12px;
}


/* GRID */

.add-persona-form-grid {
    display: grid;

    grid-template-columns:
        repeat(2, minmax(0, 1fr));

    gap: 18px;
}


.add-persona-full-field {
    grid-column: 1 / -1;
}


/* FIELDS */

.add-persona-field {
    display: flex;
    flex-direction: column;
}


.add-persona-field label {
    color: #18345f;

    font-size: 13px;
    font-weight: 700;

    margin-bottom: 8px;
}


.add-persona-field input,
.add-persona-field select,
.add-persona-field textarea {
    width: 100%;

    border:
        1px solid #d8e0eb;

    border-radius: 10px;

    background: #f9fbfd;

    padding:
        12px
        13px;

    color: #22304d;

    font-family: Arial, sans-serif;
    font-size: 13px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}


.add-persona-field textarea {
    resize: vertical;

    line-height: 1.55;
}


.add-persona-field input:focus,
.add-persona-field select:focus,
.add-persona-field textarea:focus {
    border-color: #4c8ee8;

    background: #ffffff;

    box-shadow:
        0 0 0 3px
        rgba(76, 142, 232, 0.11);
}


.add-persona-field input::placeholder,
.add-persona-field textarea::placeholder {
    color: #9aa5b5;
}


.add-persona-field small {
    color: #8a95a6;

    font-size: 11px;

    margin-top: 6px;
}


/* ACTION BUTTONS */

.add-persona-actions {
    display: flex;

    justify-content: flex-end;
    align-items: center;

    gap: 12px;

    padding-top: 25px;
}


.add-persona-cancel,
.add-persona-submit {
    border: none;

    border-radius: 10px;

    padding:
        12px
        20px;

    font-size: 13px;
    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;
}


.add-persona-cancel {
    background: #edf1f6;
    color: #30405d;
}


.add-persona-cancel:hover {
    background: #e1e7ef;
}


.add-persona-submit {
    background: #162447;
    color: #ffffff;
}


.add-persona-submit:hover {
    background: #0f1a35;

    transform: translateY(-1px);
}


/* RESPONSIVE */

@media (max-width: 700px) {

    .add-persona-overlay {
        padding: 14px;
    }

    .add-persona-header {
        padding:
            28px
            24px
            22px;
    }

    .add-persona-form {
        padding:
            5px
            24px
            26px;
    }

    .add-persona-form-grid {
        grid-template-columns: 1fr;
    }

    .add-persona-full-field {
        grid-column: auto;
    }

    .add-persona-actions {
        flex-direction: column-reverse;
    }

    .add-persona-cancel,
    .add-persona-submit {
        width: 100%;
    }

}