@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');


@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 100;
    src: url("/Fonts/Roboto-ExtraLight.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 200;
    src: url("/Fonts/Roboto-Light.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 300;
    src: url("/Fonts/Roboto-Thin.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 400;
    src: url("/Fonts/Roboto-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 500;
    src: url("/Fonts/Roboto-Medium.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 600;
    src: url("/Fonts/Roboto-SemiBold.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 700;
    src: url("/Fonts/Roboto-Bold.ttf") format("truetype");
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 800;
    src: url("/Fonts/Roboto-ExtraBold.ttf") format('truetype');
}

@font-face {
    font-family: "Roboto";
    font-style: normal;
    font-weight: 900;
    src: url("/Fonts/Roboto-Black.ttf") format('truetype');
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', Helvetica, Arial, Verdana, Tahoma, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}


/* Sanlam Brand Colors */
:root {
    --primary-font-family: 'Roboto', Helvetica, Arial, Verdana, Tahoma, sans-serif;
    --sanlam-blue: #0075c9;
    --sanlam-black: #000000;

    --sanlam-blue-light: #2563eb;
    --sanlam-blue-dark: #1e40af;
    --sanlam-teal: #0891b2;
    --section-blue: #0052b3;
    --section-green: #10b981;
    --section-orange: #f59e0b;
    --section-purple: #8b5cf6;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --bg-light: #f9fafb;
    --white: #ffffff;
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.invali-section {
    padding-top: 24px;
}

.main-headings {
    font-family: var(--primary-font-family);
    font-size: 32px;
    font-weight: 900;
    color: #000000;
    letter-spacing: -0.5px;
}

.submit-btn input {
    width: 100%;
    border-radius: 5px;
    background: #76c2b6;
    border: 0px solid #76c2b6;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    align-items: center;
    padding-top: 8px;
    padding-right: 20px;
    padding-bottom: 8px;
    padding-left: 20px;
}

#divPhase input {
    width: auto;
    border-radius: 5px;
    background: #0000ff;
    border: 0px solid #0000ff;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    align-items: center;
    padding-top: 8px;
    padding-right: 20px;
    padding-bottom: 8px;
    padding-left: 20px;
}

#divPhase {
    margin-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 30px;
}



#divsPhases {
    margin-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 30px;
    display: flex;
    justify-content: space-between;
}

#divPhase h2 {
    font-family: var(--primary-font-family);
    font-size: 32px;
    font-weight: 900;
    color: var(--sanlam-blue) !important;
    letter-spacing: -0.5px;
    margin-bottom: 0px !important;
}

.submit-btn input:hover {
    width: 100%;
    border-radius: 5px;
    background: #76c2b6;
    border: 0px solid #76c2b6;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    align-items: center;
    padding-top: 8px;
    padding-right: 20px;
    padding-bottom: 8px;
    padding-left: 20px;
}

.body-copy {
    font-family: var(--primary-font-family);
    font-size: 16px;
    font-weight: 400;
    color: #464e58;
}


.highlight-bold {
    font-weight: 700;
    color: #000000;
}

.form-group span {
    font-family: var(--primary-font-family);
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    padding-right: 8px;
}

.dashboard-titles {
    font-family: var(--primary-font-family);
    font-size: 27px;
    font-weight: 900;
    color: #0075c9;
    letter-spacing: -0.5px;
}

.verify-btn {
    width: auto;
    border-radius: 5px;
    background: #76c2b6;
    border: 1px solid #76c2b6;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    align-items: center;
    padding-top: 8px;
    padding-right: 20px;
    padding-bottom: 8px;
    padding-left: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

    .verify-btn:hover {
        width: auto;
        border-radius: 5px;
        background: #76c2b6;
        border: 1px solid #76c2b6;
        font-family: var(--primary-font-family);
        font-size: 14px;
        font-weight: 500;
        color: #ffffff;
        align-items: center;
        padding-top: 8px;
        padding-right: 20px;
        padding-bottom: 8px;
        padding-left: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-decoration: none !important;
    }

.back-nav-btn {
    width: auto;
    border-radius: 5px;
    background: #0075c9;
    border: 1px solid #0075c9;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    align-items: center;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none !important;
}

    .back-nav-btn:hover {
        width: auto;
        border-radius: 5px;
        background: #0075c9;
        border: 1px solid #0075c9;
        font-family: var(--primary-font-family);
        font-size: 14px;
        font-weight: 500;
        color: #ffffff;
        align-items: center;
        padding-top: 10px;
        padding-right: 20px;
        padding-bottom: 10px;
        padding-left: 20px;
        cursor: pointer;
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        text-decoration: none !important;
    }

#divNewRater {
    border-bottom: 1px solid #DBDEE2;
    margin-bottom: 30px;
    padding-bottom: 28px;
}

#txtName {
    border-radius: 5px;
    background: #ffffff;
    padding-left: 10px;
    padding-right: 10px;
    height: 39px;
    border: 1px solid #DBDEE2;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 400;
    color: #464e58;
}

#txtEmail {
    border-radius: 5px;
    background: #ffffff;
    padding-left: 10px;
    padding-right: 10px;
    height: 39px;
    border: 1px solid #DBDEE2;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 400;
    color: #464e58;
}

.form-group select {
    border-radius: 5px;
    background: #ffffff;
    padding-left: 10px;
    padding-right: 20px;
    height: 39px;
    border: 1px solid #DBDEE2;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 400;
    color: #464e58;
}

#divsPhases label {
    font-family: var(--primary-font-family);
    font-size: 16px;
    font-weight: 500;
    color: #464e58;
}

#divsPhases select {
    border-radius: 5px;
    background: #ffffff;
    padding-left: 10px;
    padding-right: 20px;
    height: 39px;
    border: 1px solid #DBDEE2;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 400;
    color: #464e58;
}

.form-group .greenBtn {
    width: 100%;
    border-radius: 5px;
    background: #76c2b6;
    border: 1px solid #76c2b6;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    align-items: center;
    padding-top: 8px;
    padding-right: 20px;
    padding-bottom: 8px;
    padding-left: 20px;
}

#divRaterList p {
    font-family: var(--primary-font-family);
    font-size: 16px;
    font-weight: 500;
    color: #000;
}

.search-section {
    border-bottom: 1px solid #DBDEE2;
    margin-bottom: 30px;
}

.raters-section {
    padding-top: 24px;
    padding-bottom: 40px;
}

    .raters-section .search-section input {
        border-radius: 5px;
        background: #ffffff;
        padding-left: 10px;
        padding-right: 10px;
        height: 39px;
        width: 30%;
        border: 1px solid #DBDEE2;
        font-family: var(--primary-font-family);
        font-size: 14px;
        font-weight: 400;
        color: #464e58;
    }

#divSearchResults input {
    width: 100%;
    border-radius: 5px;
    background: #76c2b6;
    border: 1px solid #76c2b6;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    align-items: center;
    padding: 0px;
}

    .raters-section .search-section select {
        border-radius: 5px;
        background: #ffffff;
        padding-left: 10px;
        padding-right: 10px;
        height: 39px;
        width: 100%;
        border: 1px solid #DBDEE2;
        font-family: var(--primary-font-family);
        font-size: 14px;
        font-weight: 400;
        color: #464e58;
    }

#divSearchResults table {
    width: 100% !important;
    border: 0px solid #DBDEE2;
}
    #divSearchResults table td {
        font-family: var(--primary-font-family);
        font-size: 14px;
        padding: 10px;
        font-weight: 500;
        color: #464e58;
        border: 1px solid #DBDEE2;
    }

    #divSearchResults table th {
        font-family: var(--primary-font-family);
        font-size: 14px;
        padding: 10px;
        font-weight: 600;
        color: #fff;
        background: var(--sanlam-blue);
        border: 1px solid #ffffff;
    }

#divRaterList table {
    width: 100% !important;
    border: 0px solid #DBDEE2;
}

    #divRaterList table td {
        font-family: var(--primary-font-family);
        font-size: 14px;
        padding: 10px;
        font-weight: 500;
        color: #464e58;
        border: 1px solid #DBDEE2;
    }

    #divRaterList table th {
        font-family: var(--primary-font-family);
        font-size: 14px;
        padding: 10px;
        font-weight: 600;
        color: #fff;
        background: var(--sanlam-blue);
        border: 1px solid #ffffff;
    }

#divDRList table {
    width: 100% !important;
    border: 0px solid #DBDEE2;
}

    #divDRList table td {
        font-family: var(--primary-font-family);
        font-size: 14px;
        padding: 10px;
        font-weight: 500;
        color: #464e58;
        border: 1px solid #DBDEE2;
    }

    #divDRList table th {
        font-family: var(--primary-font-family);
        font-size: 14px;
        padding: 10px;
        font-weight: 600;
        color: #fff;
        background: var(--sanlam-blue);
        border: 1px solid #ffffff;
    }

.line-manager-sections {
    margin-bottom: 30px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

#divProgress table {
    width: 100% !important;
    border: 0px solid #DBDEE2;
}

    #divProgress table td {
        font-family: var(--primary-font-family);
        font-size: 15px;
        padding: 10px;
        font-weight: 500;
        /*color: #464e58;*/
        border: 1px solid #DBDEE2;
        text-align: left !important;
    }

    #divProgress  {
        font-family: var(--primary-font-family);
        font-size: 14px !important;
        padding-bottom: 5px;
        font-weight: 500;
        /*color: #464e58;
        border: 1px solid #DBDEE2;
        text-align: left !important;*/
    }

        #divProgress table th {
            font-family: var(--primary-font-family);
            font-size: 15px;
            padding: 10px !important;
            font-weight: 600;
            color: #fff;
            background: var(--sanlam-blue);
            border: 1px solid #ffffff;
            text-align: left !important;
        }

    #divProgress table tfoot {
        font-family: var(--primary-font-family);
        font-size: 15px;
        padding: 10px;
        font-weight: 600;
        color: #fff !important;
        background: #333e48;
        border: 1px solid #ffffff;
        text-align: left !important;
    }


.remove-actions input {
    width: 100%;
    border-radius: 5px;
    background: #cb333b;
    border: 1px solid #cb333b;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    align-items: center;
    padding-top: 8px;
    padding-right: 20px;
    padding-bottom: 8px;
    padding-left: 20px;
}

.remove-actions input:hover {
    width: 100%;
    border-radius: 5px;
    background: #cb333b;
    border: 1px solid #cb333b;
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    align-items: center;
    padding-top: 8px;
    padding-right: 20px;
    padding-bottom: 8px;
    padding-left: 20px;
}

#divDRList .btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    background: #76c2b6;
    margin-right: 8px;
}

.submit-btn {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    align-items: center;
}

.submit-message {
    font-family: var(--primary-font-family);
    font-size: 16px;
    font-weight: 400;
    color: #464e58;
}
/* Header Styles */
.header {
    background: var(--sanlam-black);
    color: white;
    padding: 25px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 2rem;
    width: 100%;
    justify-content: space-between;
}

.section-headings p {
    margin-bottom: 5px;
    font-family: var(--primary-font-family);
    font-size: 16px;
    font-weight: 600;
    color: #464e58;
}

.heading-error {
    font-size: 40px !important;
    letter-spacing: -0.5px;
    font-weight: 800 !important;
}
.body-error {
    font-size: 17px !important;
    letter-spacing: -0.5px;
    font-weight: 400 !important;
}

#Files {
    font-size: 15px;
    font-family: var(--primary-font-family);
    font-weight: 500;
    color: #464e58;
}

#uploadSection .textbox {
    width: 100%;
    border: 1px solid #e2e8f0;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-family: var(--primary-font-family);
    font-weight: 400;
    color: #464e58;
    font-size: 14px;
}

#uploadSheetTable select {
    width: 100%;
    border: 1px solid #e2e8f0;
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 6px;
    padding-bottom: 6px;
    font-family: var(--primary-font-family);
    font-weight: 400;
    color: #464e58;
    font-size: 14px;
}

#uploadSection table th {
    padding-left: 15px;
    padding-right: 15px;
    background: var(--sanlam-blue);
    color: #ffffff;
}

#uploadSection table td {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 14px;
    padding-bottom: 20px;
    font-family: var(--primary-font-family);
    font-weight: 500;
    color: #464e58;
    font-size: 14px;
}

#uploadSheetTable th {
    padding-left: 15px;
    padding-right: 15px;
    background: var(--sanlam-blue) !important;
    color: #ffffff;
}

#uploadSheetTable td {
    padding-left: 15px;
    padding-right: 15px;
    padding-top: 14px;
    padding-bottom: 20px;
    font-size: 14px;
    color: #464e58;
}

.form-control {
    font-size: 14px !important;
}

    .logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.header-decorative {
    display: flex;
    align-items: center;
}

.decorative-elements {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.element {
    font-size: 1.2rem;
    font-weight: bold;
}

.element.plus {
    color: #0052b3;
}

.element.circle {
    color: #fbbf24;
}

.element.square {
    color: #34d399;
}

.element.diamond {
    color: #f472b6;
}

/* Title Section */
.title-section {
    background: #f8fafc;
    padding: 18px 0;
    border-bottom: 1px solid #e2e8f0;
}

.admin-title-section {
    background: #f8fafc;
    padding: 18px 0;
    border-bottom: 1px solid #e2e8f0;
}

.title-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.admin-section {
    margin-top: 24px;
}

.main-title {
    font-size: 30px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.5px;
}

.language-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.language-selector label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.language-selector select {
    padding: 0.5rem 1rem;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: white;
    color: #374151;
    font-size: 0.9rem;
    min-width: 120px;
}

#thank-you-page {
    margin-bottom: 3rem
}

/* Main Content */
.main {
    flex: 1;
    padding: 1rem 0;
}

.page {
    display: none;
}

.page.active {
    display: block;
}

/* Dashboard Styles */
.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
    letter-spacing: -0.5px;
}

.dashboard-subtitle {
    color: var(--text-secondary);
    font-size: 15px;
}

.leaders-section {
    background: white;
    border-radius: 0px;
    overflow: hidden;
    
}

.section-title {
    background: #f8fafc;
    padding: 12px 0px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 0px solid var(--border-color);
    margin: 0;
}

.leaders-table-container {
    overflow-x: auto;
}

.leaders-table {
    width: 100%;
    border-collapse: collapse;
}

.leaders-table thead {
    background: var(--sanlam-blue);
    color: white;
}

    .leaders-table th {
        padding: 1rem 1.5rem;
        font-family: var(--primary-font-family);
        font-size: 14px;
        padding: 10px;
        font-weight: 600;
        color: #fff;
        background: var(--sanlam-blue);
        border: 1px solid #ffffff;
        white-space: nowrap;
    }

.leaders-table th.sortable {
    cursor: pointer;
    position: relative;
}

.leaders-table th.sortable:hover {
    background: rgba(255, 255, 255, 0.1);
}

.leaders-table th.sortable i {
    margin-left: 0.5rem;
    opacity: 0.7;
}

.leaders-table tbody tr {
    border-bottom: 1px solid var(--border-color);
}

.leaders-table tbody tr:hover {
    background: #f8fafc;
}

    .leaders-table td {
        padding: 1rem 1.5rem;
        vertical-align: middle;
        font-family: var(--primary-font-family);
        font-size: 14px;
        padding: 10px;
        font-weight: 500;
        color: #464e58;
        border: 1px solid #DBDEE2;
    }

.name-cell {
    font-weight: 600;
    color: var(--text-primary);
}

.email-cell {
    color: var(--sanlam-blue);
    text-transform: lowercase;
    font-size: 0.8rem;
}

.relationship-cell {
    color: var(--text-secondary);
    font-weight: 600;
}

.status-badge {
    display: inline-block;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    /*text-transform: uppercase;*/
}

.status-badge:contains("Not Started") {
    background: #fef3c7;
    color: #92400e;
}

.status-badge:contains("Completed") {
    background: #d1fae5;
    color: #065f46;
}

.status-badge:contains("In Progress") {
    background: #dbeafe;
    color: #1e40af;
}

.action-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none !important;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header a {
    color: white !important;
}

.start-btn {
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    background: #76c2b6;
}

    .start-btn:hover {
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
        transition: all 0.3s ease;
        text-decoration: none !important;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: #ffffff !important;
        background: #76c2b6;
    }

.continue-btn {
    background: var(--sanlam-blue);
    color: white;
}

.continue-btn:hover {
    background: var(--sanlam-blue-dark);
}

.completed-btn {
    background: #6b7280;
    color: white;
    cursor: not-allowed;
    opacity: 0.2;
    font-family: var(--primary-font-family);
}

.completed-btn:hover {
    background: #6b7280;
    opacity: 0.7;
}

/* Instructions Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: white;
    border-radius: 12px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    padding: 2rem 2rem 1rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

    .modal-header h2 {
        color: #000000;
        font-size: 20px;
        letter-spacing: -0.5px;
        font-weight: 900;
        font-family: var(--primary-font-family);
        margin: 0;
    }

.custom-close {
    background: var(--sanlam-blue);
    color: white;
}
.custom-close:hover {
    background: var(--sanlam-blue);
    color: white;
}
.modal-body {
    padding: 1.5rem 2rem;
    font-family: var(--primary-font-family);
    font-size: 16px;
    font-weight: 400;
    color: #464e58;
}

.instructions-text {
    line-height: 1.7;
    color: var(--text-primary);
}

    .instructions-text p {
        margin-bottom: 1.2rem;
        font-size: 14px !important;
        font-family: var(--primary-font-family);
        color: #464e58;
        line-height: 20px;
    }

.instructions-text p:last-child {
    margin-bottom: 0;
}

.instructions-text strong {
    color: var(--sanlam-blue);
    font-weight: 800;
}

.modal-footer {
    padding: 1rem 2rem 2rem 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-footer .btn {
    padding: 0.75rem 2rem;
    font-size: 14px;
    font-weight: 600;
}

/* Survey Alert Styles */
.alert-container {
    margin-bottom: 1.5rem;
    text-align: center !important;
}

.alert {
    padding: 1rem 0rem;
    color: #ffffff;
    text-align: center !important;
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    animation: alertSlideIn 0.3s ease-out;
}

@keyframes alertSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.alert-error i {
    color: #dc2626;
    font-size: 16px;
}

/* Disabled Button Styles */
.btn:disabled {
    background-color: #9ca3af;
    color: #6b7280;
    cursor: not-allowed;
    opacity: 0.6;
}

.btn:disabled:hover {
    background-color: #9ca3af;
    color: #6b7280;
}

/* Auto-expanding Textarea Styles */
.elaborate-section textarea {
    width: 100%;
    min-height: 40px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: white;
    resize: none;
    overflow: hidden;
    transition: height 0.1s ease;
    box-sizing: border-box;
    margin-top: 0.75rem;
}

.elaborate-section textarea:focus {
    outline: none;
    border-color: var(--sanlam-blue);
    box-shadow: 0 0 0 3px rgba(0, 61, 130, 0.1);
}

.elaborate-section textarea::placeholder {
    color: var(--text-secondary);
}

.char-count {
    font-size: 10px;
    color: var(--text-secondary);
    text-align: right;
    margin-top: 2px;
}

/* Survey Page Styles */
#survey-page {
    background: #f9fafb;
    min-height: calc(100vh - 80px);
}

.survey-progress-banner {
    background: #0075c9;
    color: white;
    padding-top: 22px;
    padding-bottom: 34px;
    padding-right: 0px;
    padding-left: 0px;
}

.survey-progress-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

    .survey-progress-banner .survey-feedback-info {
        margin-bottom: 0rem;
        font-size: 17px;
        line-height: 1.6;
        font-family: var(--primary-font-family);
        font-weight: 500;
        color: #ffffff;
    }

.survey-progress-banner .survey-progress {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.survey-progress-banner .progress-text {
    font-weight: 600;
    min-width: 120px;
}

.survey-progress-banner .progress-bar {
    flex: 1;
    height: 8px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 4px;
    overflow: hidden;
}

.survey-progress-banner .progress-fill {
    height: 100%;
    background: #10b981;
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.survey-content {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    padding-right: 2rem;
    padding-bottom: 3rem;
    padding-left: 2rem;
    background: white;
    border-radius: 12px;
    margin-top: -1rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    z-index: 10;
}

.survey-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.survey-actions .btn {
    min-width: 160px;
}

/* Legacy modal styles removed - now using full page layout */

/* Legacy modal survey header styles removed - now using page-based layout */

/* Survey Section Styles */
.survey-section {
    margin-bottom: 3rem;
    background: white;
}

.survey-section:last-child {
    margin-bottom: 0;
}

.section-header {
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid #0075c9;
}

.section-title {
    font-family: var(--primary-font-family);
    font-size: 20px;
    font-weight: 900;
    color: #000000;
    letter-spacing: 0px;
    margin: 0rem;
}

.section-description {
    font-family: var(--primary-font-family);
    font-size: 1rem;
    color: #464e58;
    font-style: italic;
    line-height: 1.5;
    margin: 0;
}

/* Question Item Styles */
.question-item {
    margin-bottom: 20px;
    padding-top: 16px;
    padding-right: 24px;
    padding-bottom: 16px;
    padding-left: 24px;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.question-item:last-child {
    margin-bottom: 0;
}

.question-text {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.5;
    color: #464e58;
    font-family: var(--primary-font-family);
}

.question-number {
    font-weight: 600;
    color: var(--sanlam-blue);
    min-width: 20px;
    font-family: var(--primary-font-family);
}

/* Horizontal Rating Options */
.rating-options-horizontal {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1rem;
    justify-content: flex-start;
}

.rating-option-h {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.75rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 6px;
    background: white;
    transition: all 0.3s ease;
    min-width: 120px;
    justify-content: center;
}

.rating-option-h:hover {
    border-color: var(--sanlam-blue);
    background: #e6f2ff;
}

.rating-option-h input[type="radio"] {
    margin: 0;
    accent-color: var(--sanlam-blue);
}

.rating-option-h input[type="radio"]:checked + .rating-label {
    font-weight: 600;
}

.rating-option-h.unable-option {
    border-color: #e5e7eb;
    background: #f9fafb;
}

.rating-option-h.unable-option:hover {
    border-color: #d1d5db;
    background: #f3f4f6;
}

.rating-label {
    font-size: 0.875rem;
    color: var(--text-primary);
    white-space: nowrap;
}

.rating-option-h input[type="radio"]:checked {
    transform: scale(1.1);
}

.rating-option-h:has(input[type="radio"]:checked) {
    border-color: var(--sanlam-blue);
    background: #e6f2ff;
    box-shadow: 0 2px 4px rgba(0, 61, 130, 0.15);
}

/* Elaborate Section */
.elaborate-section {
    margin-top: 1rem;
}

.elaborate-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: none;
    border: none;
    color: var(--sanlam-blue);
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.elaborate-btn:hover {
    color: var(--sanlam-blue-dark);
    text-decoration: underline;
}

.elaborate-btn i {
    font-size: 0.75rem;
}

.elaborate-content {
    margin-top: 1rem;
    animation: slideDown 0.3s ease;
}

.elaborate-content textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-family: inherit;
    font-size: 0.875rem;
    color: var(--text-primary);
    background: white;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.elaborate-content textarea:focus {
    outline: none;
    border-color: var(--sanlam-blue);
    box-shadow: 0 0 0 3px rgba(0, 61, 130, 0.1);
}

.elaborate-content textarea::placeholder {
    color: var(--text-secondary);
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        margin-top: 0;
    }
    to {
        opacity: 1;
        max-height: 150px;
        margin-top: 1rem;
    }
}

/* Legacy modal footer styles removed */

/* Button Styles */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    background: #76c2b6;
    margin-right: 8px;
}

.line-manager-section {
    margin-bottom: 40px;
    border-bottom: 1px solid #e2e8f0;
    padding-bottom: 10px;
}

    #divDRList p {
        font-family: var(--primary-font-family);
        font-size: 16px;
        font-weight: 400;
        color: #464e58;
    }

.cancel-btn {
    padding: 0.85rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #ffffff !important;
    background: var(--sanlam-blue);
}

.btn-primary {
    background: #76c2b6;
    color: white;
}

    .btn-primary:hover {
        background: #76c2b6;
    }

.btn-secondary {
    background: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: var(--bg-light);
    color: var(--text-primary);
}

/* Success Content */
.success-content {
    max-width: 1200px;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.success-header {
    background: var(--sanlam-blue);
    color: white;
    padding: 1.5rem 2rem;
}

.success-branding {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.success-logo {
    height: 40px;
    width: auto;
}

.success-decorative {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.success-body {
    text-align: center;
    padding: 3rem 2rem;
}

.success-icon {
    font-size: 4rem;
    color: #4fc93c;
    margin-bottom: 1.5rem;
}

.success-body h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.success-message {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.success-body .btn {
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 14px;
}

/* Results Page */
.no-results {
    text-align: center;
    padding: 4rem 2rem;
}

.no-results i {
    font-size: 4rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.no-results h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.result-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.result-leader {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.result-date {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* Section Scores */
.section-scores {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.score-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: var(--bg-light);
    border-radius: 6px;
}

.score-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.score-value {
    font-weight: 600;
    color: var(--text-primary);
}

.overall-score {
    text-align: center;
    padding: 1rem;
    background: linear-gradient(135deg, var(--sanlam-blue), var(--sanlam-teal));
    color: white;
    border-radius: 8px;
}

.overall-score .score {
    font-size: 2rem;
    font-weight: 700;
}

.overall-score .label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--sanlam-blue);
    color: white;
    padding: 1rem 0;
    text-align: left;
    margin-top: auto;
}

.footer-text {
    font-family: var(--primary-font-family);
    font-size: 14px;
    font-weight: 500;
    color: #ffffff;
    letter-spacing: 0.5px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .title-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .main-title {
        font-size: 1.5rem;
    }

    .leaders-table-container {
        margin: 0 -15px;
    }

    .leaders-table th,
    .leaders-table td {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }

    /* Legacy modal responsive styles removed */

    .survey-content {
        margin: 1rem;
        padding: 2rem 1.5rem;
    }

    .success-content {
        margin: 1rem;
    }

    .rating-options-horizontal {
        flex-direction: column;
        gap: 0.5rem;
    }

    .rating-option-h {
        min-width: auto;
        width: 100%;
    }

    .question-item {
        padding: 1rem;
    }

    .section-scores {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .main {
        padding: 1rem 0;
    }

    .dashboard-header {
        margin-bottom: 1rem;
    }

    .leaders-table th,
    .leaders-table td {
        padding: 0.5rem;
        font-size: 0.75rem;
    }

    .action-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.7rem;
    }

    .survey-decorative {
        display: none;
    }

    .survey-branding {
        gap: 1rem;
    }

    .question-text {
        flex-direction: column;
        gap: 0.25rem;
    }

    .question-number {
        align-self: flex-start;
    }

    .survey-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
        padding: 2rem 1rem;
    }

    .success-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }

    .success-header {
        padding: 1rem;
    }

    .success-decorative {
        display: none;
    }

    .success-body {
        padding: 2rem 1rem;
    }

    .success-body h2 {
        font-size: 1.5rem;
    }

    .success-message {
        font-size: 1rem;
    }
} 

/* Global Page Loader */
#overlayLoadGenerate {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.35);
    backdrop-filter: blur(2px);
    transition: opacity 0.25s ease, visibility 0.25s ease;
}

#overlayLoadGenerate.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

#overlayLoadGenerate .page-loader__card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 2rem 2.5rem;
    min-width: 240px;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 28px 60px -20px rgba(15, 23, 42, 0.55);
}

#overlayLoadGenerate .page-loader__spinner {
    width: 64px;
    height: 64px;
}

#overlayLoadGenerate .page-loader__text {
    margin: 0;
    font-family: var(--primary-font-family);
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
} 