
/* =========================================
   GLOBAL
========================================= */

* {
    box-sizing: border-box;
}

html,
body,
#root {
    width: 100%;
    min-height: 100%;
    margin: 0;
}

body {
    font-family: Arial, Helvetica, sans-serif;
}


/* =========================================
   MAIN PAGE LAYOUT
========================================= */

.signup-page {
    display: flex;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #ffffff;
}


/* =========================================
   LEFT CONTENT SECTION
========================================= */

.signup-content-section {
    flex: 0 0 45%;
    height: 100vh;
    padding: 35px 45px;
    color: #ffffff;
    background: linear-gradient(140deg, #142c52, #1766a5);
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}

.signup-content-inner {
    width: 100%;
    max-width: 520px;
    margin: auto;
}

.signup-brand {
    margin-bottom: 65px;
}

.signup-brand h2 {
    font-size: 30px;
    font-weight: 700;
    margin: 0 0 5px;
    color: #ffffff;
}

.signup-brand span {
    font-size: 13px;
    color: #d4e5f7;
}

.signup-content {
    margin-bottom: 50px;
}

.signup-tag {
    display: inline-block;
    padding: 7px 13px;
    margin-bottom: 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
}

.signup-content h1 {
    font-size: 38px;
    line-height: 1.25;
    font-weight: 700;
    margin: 0 0 18px;
    color: #ffffff;
}

.signup-content > p {
    max-width: 450px;
    color: #dce9f6;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.signup-feature-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.signup-feature {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.feature-icon {
    width: 27px;
    height: 27px;
    min-width: 27px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    color: #1766a5;
    border-radius: 50%;
    font-weight: bold;
}

.signup-feature h4 {
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    margin: 0 0 5px;
}

.signup-feature p {
    color: #dce9f6;
    font-size: 12px;
    margin: 0;
}

.signup-content-footer {
    color: #d4e5f7;
    font-size: 12px;
    margin-top: 30px;
}


/* =========================================
   RIGHT FORM SECTION
========================================= */

.signup-form-section {
    flex: 0 0 55%;
    height: 100vh;
    padding: 14px 35px;
    overflow-y: auto;
    overflow-x: hidden;
    background: #ffffff;
}

.signup-form-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}


/* =========================================
   FORM HEADING
========================================= */

.signup-form-heading {
    margin-bottom: 15px;
}

.signup-form-heading h2 {
    font-size: 24px;
    font-weight: 700;
    color: #1b2b42;
    margin: 0 0 5px;
}

.signup-form-heading p {
    font-size: 13px;
    color: #7b8491;
    margin: 0;
}


/* =========================================
   SECTION TITLES
========================================= */

.signup-section-title {
    font-size: 14px;
    font-weight: 700;
    color: #1766a5;
    border-bottom: 1px solid #e7ebf0;
    padding-bottom: 5px;
    margin: 13px 0 9px;
}


/* =========================================
   FORM GRID
========================================= */

.signup-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}


/* =========================================
   FORM FIELDS
========================================= */

.signup-field {
    display: flex;
    flex-direction: column;
    min-width: 0;
    margin-bottom: 9px;
}

.signup-field label {
    font-size: 12px;
    font-weight: 600;
    color: #344054;
    margin-bottom: 4px;
}

.signup-field label span {
    color: #dc3545;
}

.signup-field input,
.signup-field textarea {
    width: 100%;
    border: 1px solid #d6dce5;
    border-radius: 5px;
    padding: 7px 10px;
    font-size: 13px;
    color: #344054;
    background: #ffffff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.signup-field input {
    height: 35px;
}

.signup-field textarea {
    height: 48px;
    min-height: 48px;
    resize: vertical;
}

.signup-field input:focus,
.signup-field textarea:focus {
    border-color: #1766a5;
    box-shadow: 0 0 0 2px rgba(23, 102, 165, 0.10);
}

.signup-field input::placeholder,
.signup-field textarea::placeholder {
    color: #a0a8b4;
    font-size: 12px;
}

.signup-field input.is-invalid {
    border-color: #dc3545;
}

.signup-error {
    display: block;
    color: #dc3545;
    font-size: 11px;
    margin-top: 3px;
}


/* =========================================
   TERMS
========================================= */

.signup-terms {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
}

.signup-terms input {
    width: 14px;
    height: 14px;
    cursor: pointer;
}

.signup-terms label {
    font-size: 12px;
    color: #475467;
    cursor: pointer;
}


/* =========================================
   BUTTONS
========================================= */

.signup-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 14px;
    padding-bottom: 8px;
}

.signup-actions button {
    min-height: 36px;
    padding: 8px 17px;
    border: none;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.signup-back-button {
    background: #e9edf2;
    color: #344054;
}

.signup-back-button:hover {
    background: #dce2e9;
}

.signup-submit-button {
    background: #1766a5;
    color: #ffffff;
}

.signup-submit-button:hover {
    background: #125487;
}

.signup-actions button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}


/* =========================================
   ALERT MESSAGES
========================================= */

.signup-form-container .alert {
    padding: 8px 12px;
    font-size: 12px;
    margin-bottom: 10px;
}


/* =========================================
   SCROLLBAR
========================================= */

.signup-form-section::-webkit-scrollbar {
    width: 6px;
}

.signup-form-section::-webkit-scrollbar-track {
    background: #f1f3f5;
}

.signup-form-section::-webkit-scrollbar-thumb {
    background: #c5ccd5;
    border-radius: 10px;
}

.signup-form-section::-webkit-scrollbar-thumb:hover {
    background: #929eac;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 992px) {
    .signup-content-section {
        flex-basis: 40%;
        padding: 25px;
    }

    .signup-form-section {
        flex-basis: 60%;
        padding: 15px 22px;
    }

    .signup-content h1 {
        font-size: 30px;
    }

    .signup-brand {
        margin-bottom: 40px;
    }
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {
    .signup-page {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 100vh;
        overflow: visible;
    }

    .signup-form-section {
        order: 1;
        flex: none;
        width: 100%;
        height: auto;
        min-height: 100vh;
        padding: 22px 16px;
        overflow: visible;
    }

    .signup-content-section {
        order: 2;
        flex: none;
        width: 100%;
        height: auto;
        min-height: 400px;
        padding: 35px 22px;
    }

    .signup-content-inner {
        max-width: 100%;
    }

    .signup-brand {
        margin-bottom: 35px;
    }

    .signup-content {
        margin-bottom: 30px;
    }

    .signup-content h1 {
        font-size: 30px;
    }

    .signup-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .signup-form-heading h2 {
        font-size: 22px;
    }
}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {
    .signup-form-section {
        padding: 18px 13px;
    }

    .signup-form-heading h2 {
        font-size: 20px;
    }

    .signup-content h1 {
        font-size: 27px;
    }

    .signup-actions button {
        padding: 8px 12px;
        font-size: 11px;
    }
}