﻿/*@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');
:root {
    --primary: #0072ce;
    --primary-hover: #005bb5;
    --primary-light: #e6f0fa;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --border-color: #E2E8F0;
    --border-color-primary: #fcb900;
    --input-bg: #FFFFFF;
    --input-border: #D1D5DB;
    --font-family: 'Open Sans', sans-serif;
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --disable-text: #666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #f0f2f5 0%, #e5e7eb 100%);
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--disable-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0;
}

.site-header {
    background-color: var(--primary);
    width: 100%;
    padding: 15px 40px 15px 50px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;*/
    /*gap: 15%;*/
    /*justify-content:space-between;
}

.header-logo img {
    height: 39px;
    object-fit: contain;
}

.header-nav img {
    height: 40px;
    object-fit: contain;
    margin-top: -20px;
}

.header-logo-right span {
    font-size: 17px !important;
    font-weight: 400;
}

.header-logo-right span,
.search-content span {
    color: #fff;
    font-family: ETmodules;
    cursor: pointer;
}

.header-logo-right button {
    margin-bottom: 18px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    padding-top: 40px;
}

.header-nav a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    letter-spacing: 2px;
}

.navbar {
    position: relative;*/
    /*overflow: hidden;*/
    /*flex: 1;*/
/*}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .4s ease;
    margin-left: 40px;
    width: 100%;
}

.search-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(-40px);
    transition: all .4s ease;
    pointer-events: none;
}

.navbar.active .nav-content {
    opacity: 0;
    transform: translateY(40px);
}

.navbar.active .search-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.search-content input {
    width: 80%;
    background: transparent;
    border: none;
    color: #fff;
    letter-spacing: 2px;
}

.search-content input::placeholder {
    color: #fff;
}

.toggle {
    font-size: 32px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.header-nav a:hover,
.footer-links a:hover {
    opacity: 0.7;
}

.btn-referral {
    background-color: #ffb833;
    color: #fff;
    padding: 4px 7px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.btn-referral:hover {
    background-color: #e5a022;
}

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 70px 0;
    width: 100%;
    background: var(--bg-card);
}

.form-container {
    width: 80%;
    max-width: 1080px;
    margin: auto;
    overflow: hidden;
}

.form-header {
    border-bottom: 2px solid var(--border-color-primary);
    margin-bottom: 2.75%;
}

.form-header h1 {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary);
    padding-bottom: 10px;
    font-weight: normal;
}

form {
    padding: 0;
}

form .req-note {
    font-weight: 400;
    margin-bottom: 50px;
}

.simple-section {
    margin-top: 24px;
}

.simple-section h2 {
    color: var(--primary);
    border-bottom: 1px solid #ccc;
    margin-bottom: 16px;
    padding-bottom: 12px;
    font-size: 17.5px;
    font-weight: 700;
}

.form-row {
    display: flex;
    margin-bottom: 16px;
}

.form-row label {
    width: 29%;
    padding-right: 16px;
    font-weight: 700;
    line-height: 26px;
}

.form-row input,
.form-row textarea {
    width: 50%;
    padding: 6px 4px;
    border: 1px solid #bbb;
    font-family: var(--font-family);
    font-size: 14px;
}

.form-row .input-group {
    width: 65%;
    display: flex;
    gap: 15px;
}

.form-row .input-group .input-group-content {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.form-row .input-group .input-group-content input {
    width: 100%;
    font-weight: 100;
}

.form-row .input-group .input-group-content label {
    font-size: 11.382px;
    letter-spacing: .5pt;
    font-weight: 400;
    margin: 1px 0 0 1px;
}

.form-row textarea.custom-textarea {
    height: 160px;
    resize: none;
}

.file-box {
    background: rgba(0, 0, 0, .02);
    border: 1px dashed #ccc;
    border-radius: 4px;
    color: #aaa;
    padding: 24px;
    text-align: center;
    width: 80%;
    margin-left: 5%;
}

.file-box p {
    margin-bottom: 8px;
}

.file-box button {
    padding: 2px 6px;
}*/

/* File list styles */
/*.file-list {
    width: 80%;
    margin-left: 16px;
    margin-bottom: 16px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.file-list:empty {
    display: none;
}

.file-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6px;
    background: #f5f5f5;
    border-radius: 4px;
    margin-bottom: 8px;
    gap: 8px;
}

.file-item .file-name {
    font-size: 13px;
    color: #333333;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
}

.file-error {
    width: 98%;
    margin-left: 16px;
    margin-bottom: 10px;
    padding: 10px;
    background-color: #fee2e2;
    border: 1px solid #fca5a5;
    border-radius: 4px;
    color: #dc2626;
    font-size: 13px;
    white-space: pre-line;
}

.btn-remove-file {
    background: none;
    border: none;
    color: #dc3545;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 5px;
    line-height: 1;
}

.btn-remove-file:hover {
    color: #c0392b;
}

.attachment-note {
    display: flex;
    align-items: end;
    font-weight: 400;
}

.submit-btn {
    font-size: 14.5px;
    margin-top: 15px;
    background: #F1B434;
    padding: 5px 8px;
    border-radius: 7px;
    border: none;
    color: #fff;
    cursor: pointer;
}

.required-field {
    color: #790000;
}

.text-red {
    color: #ff0000;
}

input[type=text]:focus,
textarea:focus {
    border-color: #2d3940;
    color: #3e3e3e;
    outline: none;
}

input[type=text]:focus-visible,
textarea:focus-visible {
    outline: none;
}*/

/* Footer CSS */
/*.footer {
    background: var(--primary);
    color: #ffffff;
    padding: 50px 60px;
}

.footer-container {
    display: flex;
    gap: 70px;
}

.footer-logo {
    width: 180px;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 220px;
}

.footer-img {
    width: 220px;
    margin: 10px 0;
}

.footer-img.small {
    width: 140px;
}

.footer-col h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 16px;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 8px;
    cursor: pointer;
}

.social-icons {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    align-items: end;
}

.social-icons a {
    cursor: pointer;
}

.site-footer {
    background-color: #004d8c;
    width: 100%;
    padding: 18px 40px;
    color: #ffffff;
    text-align: center;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
    padding-left: 34px;
    font-size: 12px;
}

.footer-content p {
    font-weight: 400;
}

.footer-links {
    font-weight: 700;
    color: #ffffff;
}

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    transition: var(--transition);
}*/

@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --primary: #0072ce;
    --primary-hover: #005bb5;
    --primary-light: #e6f0fa;
    --text-main: #1E293B;
    --text-muted: #64748B;
    --bg-body: #F8FAFC;
    --bg-card: #FFFFFF;
    --border-color: #E2E8F0;
    --border-color-primary: #fcb900;
    --input-bg: #FFFFFF;
    --input-border: #D1D5DB;
    --font-family: 'Open Sans', sans-serif;
    --radius-sm: 4px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --shadow-card: 0 10px 40px -10px rgba(0, 0, 0, 0.08);
    --transition: all 0.3s ease;
    --disable-text: #666;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background: linear-gradient(135deg, #f0f2f5 0%, #e5e7eb 100%);
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--disable-text);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 0;
}

.site-header {
    background-color: var(--primary);
    width: 100%;
    padding: 15px 40px 15px 50px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-logo {
    width: 40%;
}

    .header-logo img {
        height: 39px;
        object-fit: contain;
    }

.header-nav img {
    height: 40px;
    object-fit: contain;
    /* margin-top: -20px; */
}

.header-logo-right span {
    font-size: 17px !important;
    font-weight: 400;
}

.header-logo-right span,
.search-content span {
    color: #fff;
    font-family: ETmodules;
    cursor: pointer;
}

.header-logo-right button {
    margin-bottom: 18px;
}

.header-nav {
    display: flex;
    align-items: center;
    gap: 25px;
    /* padding-top: 40px; */
}

    .header-nav a {
        color: #ffffff;
        text-decoration: none;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 6px;
        transition: var(--transition);
        letter-spacing: 2px;
    }

.navbar {
    position: relative;
    /* overflow:hidden; */
    /* flex: 1; */
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all .4s ease;
    /* margin-left: 40px; */
}

.search-content {
    position: absolute;
    left: 0;
    right: 0;
    top: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    opacity: 0;
    transform: translateY(-40px);
    transition: all .4s ease;
    pointer-events: none;
}

.navbar.active .nav-content {
    opacity: 0;
    transform: translateY(40px);
}

.navbar.active .search-content {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.search-content input {
    width: 80%;
    background: transparent;
    border: none;
    color: #fff;
    letter-spacing: 2px;
    ;
}

    .search-content input::placeholder {
        color: #fff;
    }

.toggle {
    font-size: 32px;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
}

.header-nav a:hover,
.footer-links a:hover {
    opacity: 0.7;
}

.btn-referral {
    background-color: #ffb833;
    color: #fff;
    padding: 4px 7px;
    border-radius: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: background-color 0.3s ease;
}

    .btn-referral:hover {
        background-color: #e5a022;
    }

.main-content {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 70px 0;
    width: 100%;
    background: var(--bg-card);
}

.form-container {
    width: 80%;
    max-width: 1080px;
    margin: auto;
    overflow: hidden;
}

.form-header {
    border-bottom: 2px solid var(--border-color-primary);
    margin-bottom: 2.75%;
}

    .form-header h1 {
        font-size: 30px;
        font-weight: 700;
        color: var(--primary);
        padding-bottom: 10px;
        font-weight: normal;
    }

form {
    padding: 0;
}

    form .req-note {
        font-weight: 400;
        margin-bottom: 50px;
    }

.simple-section {
    margin-top: 24px;
}

    .simple-section h2 {
        color: var(--primary);
        border-bottom: 1px solid #ccc;
        margin-bottom: 16px;
        padding-bottom: 12px;
        font-size: 17.5px;
        font-weight: 700;
    }

.form-row {
    display: flex;
    margin-bottom: 16px;
}

    .form-row label {
        width: 29%;
        padding-right: 16px;
        font-weight: 700;
        line-height: 26px;
    }

    .form-row input,
    .form-row textarea {
        width: 50%;
        padding: 6px 4px;
        border: 1px solid #bbb;
    }

    .form-row .input-group {
        width: 50%;
        display: flex;
        gap: 15px;
    }

        .form-row .input-group .input-group-content {
            display: flex;
            flex-direction: column;
            flex: 1;
        }

            .form-row .input-group .input-group-content input {
                width: 100%;
                font-weight: 100;
            }

            .form-row .input-group .input-group-content label {
                font-size: 11.382px;
                letter-spacing: .5pt;
                font-weight: 400;
                margin: 1px 0 9px 1px;
            }

    .form-row textarea.custom-textarea {
        height: 160px;
        resize: none;
    }

.file-box {
    background: rgba(0, 0, 0, .02);
    border: 1px dashed #ccc;
    border-radius: 4px;
    color: #aaa;
    margin-bottom: 16px;
    padding: 24px;
    text-align: center;
    width: 45%;
    margin-left: 5%
}

    .file-box p {
        margin-bottom: 8px;
    }

    .file-box button {
        padding: 2px 6px;
    }

.attachment-note {
    display: flex;
    align-items: end;
    font-weight: 400;
}

.submit-btn {
    font-size: 14.5px;
    margin-top: 15px;
    background: #F1B434;
    padding: 5px 8px;
    border-radius: 7px;
    border: none;
    color: #fff;
    cursor: pointer;
}

.required-field {
    color: #790000;
}

.text-red {
    color: #ff0000;
}


input[type=text]:focus,
textarea:focus {
    border-color: #2d3940;
    color: #3e3e3e;
}

input[type=text]:focus-visible,
textarea:focus-visible {
    outline: none;
}

/* footer css */
.footer {
    background: var(--primary);
    color: #ffffff;
    padding: 50px 60px;
}

.footer-container {
    display: flex;
    gap: 70px;
}
/* .footer-col {
    flex: 1;
} */
.footer-logo {
    width: 180px;
    margin-bottom: 20px;
}

.footer-col p {
    line-height: 1.6;
    margin-bottom: 20px;
    max-width: 220px;
}

.footer-img {
    width: 220px;
    margin: 10px 0;
}

    .footer-img.small {
        width: 140px;
    }

.footer-col h4 {
    margin-top: 25px;
    margin-bottom: 10px;
    font-size: 16px;
    letter-spacing: 1px;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

    .footer-col ul li {
        margin-bottom: 8px;
        cursor: pointer;
    }

.social-icons {
    display: flex;
    gap: 4px;
    margin-bottom: 20px;
    align-items: end;
}

    .social-icons a {
        cursor: pointer;
    }

.site-footer {
    background-color: #004d8c;
    width: 100%;
    padding: 18px 40px;
    color: #ffffff;
    text-align: center;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 8px;
    padding-left: 34px;
    font-size: 12px;
}

    .footer-content p {
        font-weight: 400;
    }

.footer-links {
    font-weight: 700;
    color: #ffffff;
}

    .footer-links a {
        color: #ffffff;
        text-decoration: none;
        transition: var(--transition);
    }

/* ── Responsive Breakpoint ── */
@media (max-width: 767px) {
    body {
        font-size: 13px;
    }

    .site-header,
    .footer {
        padding: 20px;
    }

    .main-content {
        padding: 25px 0;
    }

    .form-header h1 {
        font-size: 25px;
    }

    form .req-note {
        margin-bottom: 25px;
    }

    .simple-section h2 {
        font-size: 15px;
    }

    .form-row {
        flex-direction: column;
    }

    .file-box {
        margin-top: 10px;
        width: 100%;
    }

    .form-row label,
    .form-row input,
    .form-row textarea {
        width: 100%;
    }

    .site-footer {
        text-align: left;
        padding: 20px;
    }

    .footer-container {
        flex-direction: column;
        gap: 0;
    }

    .footer-content {
        padding-left: 0;
    }

    .footer-container .footer-col p {
        margin-bottom: 0;
    }
}


/* DevExtreme Overrides */
.dx-textbox-input,
.dx-selectbox .dx-textbox-input,
.dx-datebox .dx-textbox-input {
    padding: 6px 4px;
    border: 1px solid #bbb;
    font-family: var(--font-family);
    font-size: 14px;
}

.dx-selectbox,
.dx-datebox {
    width: 50%;
}

/* Form actions and buttons */
.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #E5E7EB;
}

.btn-save {
    background-color: #F1B434;
    color: #ffffff;
    border: none;
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-save:hover {
    background-color: #e5a022;
}

.btn-save:disabled {
    background-color: #9ca3af;
    cursor: not-allowed;
}

/* File upload area */
.file-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 2px dashed #D1D5DB;
    border-radius: 8px;
    padding: 30px 20px;
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.2s;
    background-color: #fafafa;
}

.file-upload-area:hover {
    border-color: #2b4582;
    background-color: #f5f7ff;
}

.file-upload-area.dragover {
    border-color: #2b4582;
    background-color: #e8ecff;
}

.btn-select-file {
    background-color: #2b4582;
    color: #ffffff;
    border: none;
    padding: 10px 24px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 10px;
}

.btn-select-file:hover {
    background-color: #1e3362;
}

/* Error messages */
.form-error-message {
    color: #dc3545;
    background-color: #fff5f5;
    border: 1px solid #f5c6cb;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.field-validation-error {
    color: #dc3545;
    font-size: 12px;
    margin-top: -2px;
}

/* Loading states */
.loading-message,
.error-message {
    text-align: center;
    padding: 40px;
    font-size: 16px;
    color: #6b7280;
}

.error-message {
    color: #dc3545;
}

/* Success page */
.success-container {
    text-align: center;
    padding: 60px 20px;
}

.success-title {
    font-size: 24px;
    font-weight: 600;
    color: #333333;
    margin-bottom: 16px;
}

.success-message {
    font-size: 16px;
    color: #6b7280;
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
}

input[type="file"] {
    display: none;
}

#referralForm .dx-texteditor-input-container input {
    border: none;
}
.attachment-box{
    padding-left: 14px;
}
.ml-0{
    margin-left: 0;
}

.flex-full{
    flex: 1;
}
#recaptcha{
    margin-bottom: 16px;
}

.w-100{
    width:100%;
}
