/* =========================================================
   MBC CREATIVE SIGN UP
   Responsive Desktop + Mobile
   ========================================================= */


/* =========================================================
   RESET
   ========================================================= */

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
}

body {
    margin: 0;
    padding: 0;
    background: #E6E6FA;
    color: #111111;
    font-family: 'Poppins', Arial, sans-serif;
}


/* =========================================================
   PAGE
   ========================================================= */

.signup-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}


/* =========================================================
   HEADER
   ========================================================= */

.signup-header {
    width: 100%;
    background: #FFFFFF;
    padding: 18px 25px;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.06);
    border-bottom: 1px solid rgba(0, 0, 139, 0.08);
}

.logo-link {
    display: block;
}

.logo-link img {
    display: block;
    width: 220px;
    max-width: 75vw;
    height: auto;
}


/* =========================================================
   MAIN
   ========================================================= */

.signup-main {
    flex: 1;
    width: 100%;
    padding: 45px 20px 55px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}


/* =========================================================
   SIGNUP CARD
   ========================================================= */

.signup-card {
    width: 100%;
    max-width: 760px;
    background: #FFFFFF;
    border-radius: 20px;
    padding: 38px 42px 35px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(0, 0, 139, 0.08);
    position: relative;
    overflow: hidden;
}

.signup-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: #00008B;
}


/* =========================================================
   HEADING
   ========================================================= */

.signup-heading {
    text-align: center;
    margin-bottom: 30px;
}

.creative-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 15px;
    border-radius: 17px;
    background: #E6E6FA;
    color: #00008B;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    font-weight: bold;
}

.signup-heading h1 {
    margin: 0;
    color: #111111;
    font-family: 'Montserrat', Arial, sans-serif;
    font-size: 29px;
    font-weight: 700;
    line-height: 1.25;
}

.signup-heading p {
    max-width: 560px;
    margin: 10px auto 0;
    color: #666666;
    font-size: 14px;
    line-height: 1.6;
}


/* =========================================================
   ERROR
   ========================================================= */

.error-message {
    width: 100%;
    margin-bottom: 25px;
    padding: 13px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    background: #FFF0F0;
    border: 1px solid #F1B5B5;
    border-left: 4px solid #C62828;
    border-radius: 8px;
    color: #A61B1B;
    font-size: 13px;
}

.error-icon {
    flex: 0 0 auto;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #C62828;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}


/* =========================================================
   FORM GRID
   ========================================================= */

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 21px 20px;
}

.form-group {
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 7px;
    color: #222222;
    font-size: 13px;
    font-weight: 600;
}

.form-input {
    width: 100%;
    height: 46px;
    padding: 11px 13px;
    background: #FFFFFF;
    color: #222222;
    border: 1px solid #D4D7DE;
    border-radius: 8px;
    outline: none;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 14px;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background 0.2s ease;
}

.form-input::placeholder {
    color: #999999;
}

.form-input:hover {
    border-color: #A9AFC0;
}

.form-input:focus {
    border-color: #00008B;
    box-shadow: 0 0 0 3px rgba(0, 0, 139, 0.10);
    background: #FFFFFF;
}


/* =========================================================
   SELECT
   ========================================================= */

select.form-input {
    cursor: pointer;
    appearance: auto;
}

select.form-input:invalid {
    color: #888888;
}


/* =========================================================
   PASSWORD
   ========================================================= */

.password-wrapper {
    position: relative;
}

.password-wrapper .form-input {
    padding-right: 48px;
}

.password-toggle {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #666666;
    cursor: pointer;
    border-radius: 6px;
    font-size: 16px;
}

.password-toggle:hover {
    background: #F0F0FA;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #888888;
    font-size: 11px;
}


/* =========================================================
   CREATE ACCOUNT BUTTON
   ========================================================= */

.create-account-button {
    width: 100%;
    min-height: 49px;
    margin-top: 30px;
    padding: 12px 20px;
    border: 2px solid #00008B;
    border-radius: 9px;
    background: #00008B;
    color: #FFFFFF;
    font-family: 'Poppins', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        transform 0.2s ease,
        box-shadow 0.25s ease;
}

.create-account-button:hover {
    background: #0000CD;
    border-color: #0000CD;
    transform: translateY(-2px);
    box-shadow: 0 7px 18px rgba(0, 0, 139, 0.22);
}

.create-account-button:active {
    transform: translateY(0);
}


/* =========================================================
   LOGIN
   ========================================================= */

.login-area {
    margin-top: 25px;
    padding-top: 22px;
    border-top: 1px solid #EEEEEE;
    text-align: center;
    color: #666666;
    font-size: 13px;
}

.login-area a {
    margin-left: 5px;
    color: #00008B;
    font-weight: 600;
    text-decoration: none;
}

.login-area a:hover {
    color: #0000CD;
    text-decoration: underline;
}


/* =========================================================
   FOOTER
   ========================================================= */

.signup-footer {
    width: 100%;
    background: #FFFFFF;
    padding: 17px 20px;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 139, 0.08);
}

.signup-footer p {
    margin: 0;
    color: #777777;
    font-size: 11px;
}

.signup-footer strong {
    color: #00008B;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 700px) {

    .signup-main {
        padding: 30px 15px 40px;
    }

    .signup-card {
        max-width: 600px;
        padding: 34px 28px 30px;
        border-radius: 17px;
    }

    .signup-heading h1 {
        font-size: 26px;
    }

    .form-grid {
        gap: 19px 15px;
    }
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 560px) {

    .signup-header {
        padding: 14px 15px;
    }

    .logo-link img {
        width: 190px;
    }

    .signup-main {
        padding: 22px 12px 35px;
    }

    .signup-card {
        padding: 30px 20px 25px;
        border-radius: 15px;
    }

    .signup-heading {
        margin-bottom: 25px;
    }

    .creative-icon {
        width: 54px;
        height: 54px;
        font-size: 25px;
        border-radius: 15px;
    }

    .signup-heading h1 {
        font-size: 23px;
    }

    .signup-heading p {
        font-size: 13px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 17px;
    }

    .form-input {
        height: 47px;
    }

    .create-account-button {
        margin-top: 25px;
        min-height: 48px;
    }

    .login-area {
        font-size: 12px;
    }
}


/* =========================================================
   SMALL PHONES
   ========================================================= */

@media (max-width: 380px) {

    .logo-link img {
        width: 170px;
    }

    .signup-main {
        padding: 17px 9px 30px;
    }

    .signup-card {
        padding: 27px 16px 23px;
    }

    .signup-heading h1 {
        font-size: 21px;
    }

    .signup-heading p {
        font-size: 12px;
    }

    .form-group label {
        font-size: 12px;
    }

    .form-input {
        font-size: 13px;
    }

    .create-account-button {
        font-size: 14px;
    }
}