#logo {
    color: #fff;
    text-decoration: none;
}

#login-register {
    color: white;
}

body {
    background-repeat: no-repeat;
    font-family: Arial, Helvetica, sans-serif;
    background-size: 100%;
    background-position: center center;
    background-color: rgba(1, 8, 22, 255);
    color: #eef6f5;
}

.auth-header {
    position: relative;
    z-index: 10;
    background: linear-gradient(to right, rgba(1, 8, 22, 255), rgba(6, 14, 39, 255));
    border-bottom: 3px solid #1ab0a6;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.24);
}

.auth-nav {
    display: flex;
    width: min(1120px, calc(100% - 40px));
    min-height: 88px;
    margin: 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.auth-brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.auth-brand__mark {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(82, 210, 197, 0.6);
    border-radius: 11px;
    background: rgba(26, 176, 166, 0.12);
    color: #52d2c5;
    font-size: 14px;
    letter-spacing: 0.08em;
}

.auth-nav__actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.auth-nav__actions form {
    margin: 0;
}

.auth-nav__link {
    display: inline-flex;
    min-height: 42px;
    padding: 0 16px;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(82, 210, 197, 0.3);
    border-radius: 10px;
    background: rgba(26, 176, 166, 0.08);
    color: #dff8f5;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s;
}

.auth-nav__link:hover,
.auth-nav__link.is-active {
    border-color: #52d2c5;
    background: rgba(26, 176, 166, 0.18);
    color: #fff;
}

.auth-nav__button {
    font-family: inherit;
    cursor: pointer;
}

.auth-user-name {
    color: #b7c6d8;
    font-size: 14px;
}

#code {
    border: none;
    color: rgba(125, 155, 127, 255);
    font-size: 25px;
}

#code-label-id {
    border: none;
    border-radius: 0%;
    background-color: rgba(1, 8, 22, 255);
    color: rgba(115, 174, 120, 255);
    font-size: 25px;
}

#login-main-card {
    display: block;
}

#login-first-card {
    padding: 20px;
    /* height: 400px; */
    background-color: rgba(6, 14, 39, 0.9);
    border-radius: 30px;
}

.login-sec {
    min-height: calc(100vh - 91px);
    padding: 48px 20px;
    background:
        radial-gradient(circle at 20% 20%, rgba(26, 176, 166, 0.18), transparent 34%),
        radial-gradient(circle at 85% 75%, rgba(254, 215, 67, 0.1), transparent 30%);
}

.login-shell {
    width: 100%;
    max-width: 480px;
    margin: auto;
}

.login-card {
    padding: 34px;
    border: 1px solid rgba(113, 219, 207, 0.2);
    border-radius: 24px;
    background: rgba(6, 14, 39, 0.94);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.38);
}

.login-card__header {
    margin-bottom: 26px;
    text-align: center;
}

.login-card__icon {
    display: inline-flex;
    width: 58px;
    height: 58px;
    margin-bottom: 16px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 176, 166, 0.45);
    border-radius: 18px;
    background: rgba(26, 176, 166, 0.12);
    color: #52d2c5;
    font-size: 27px;
}

.login-card__eyebrow {
    margin: 0 0 6px;
    color: #52d2c5;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.login-card__header h1 {
    margin: 0 0 8px;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.login-card__header > p:last-child {
    margin: 0;
    color: #aab7c8;
    font-size: 14px;
}

.login-alert {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 20px;
    border: 0;
    border-radius: 12px;
    font-size: 13px;
}

.login-alert ul {
    padding-left: 18px;
}

.login-field {
    margin-bottom: 18px;
}

.login-field label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
    color: #dce7e5;
    font-size: 13px;
    font-weight: 600;
}

.optional-label {
    color: #8190a3;
    font-size: 11px;
    font-weight: 400;
}

.login-input-group {
    display: flex;
    min-height: 50px;
    align-items: center;
    border: 1px solid #2b3953;
    border-radius: 12px;
    background: #081127;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.login-input-group:focus-within {
    border-color: #1ab0a6;
    box-shadow: 0 0 0 3px rgba(26, 176, 166, 0.14);
}

.login-input-group.has-error {
    border-color: #dc5b67;
}

.login-input-group > i {
    width: 46px;
    flex: 0 0 46px;
    text-align: center;
    color: #52d2c5;
}

.login-input-group input {
    width: 100%;
    min-width: 0;
    padding: 13px 12px 13px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
}

.login-input-group input::placeholder {
    color: #6f7d90;
}

.password-toggle {
    padding: 12px 15px;
    border: 0;
    outline: 0;
    background: transparent;
    color: #8997aa;
    cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus {
    color: #52d2c5;
}

.field-error {
    display: block;
    margin-top: 6px;
    color: #ff8d97;
    font-size: 12px;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin: 4px 0 22px;
    font-size: 13px;
}

.remember-option {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    color: #b9c5d3;
    cursor: pointer;
}

.remember-option input {
    accent-color: #1ab0a6;
}

.login-options a,
.login-footer-links a {
    color: #52d2c5;
    text-decoration: none;
}

.login-submit {
    display: flex;
    width: 100%;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(135deg, #1ab0a6, #158b84);
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.login-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(26, 176, 166, 0.24);
}

.login-submit:disabled {
    cursor: wait;
    opacity: 0.7;
}

.login-footer-links {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 24px;
    color: #56647a;
    font-size: 12px;
}

#login-main-card .login-input-group input {
    padding: 13px 12px 13px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: #fff;
    font-size: 15px;
}

#login-main-card .login-submit {
    background: linear-gradient(135deg, #1ab0a6, #158b84);
    border: 0;
    color: #fff;
    font-size: 15px;
}

#login-second-card {
    border-top: 2px solid gray;
    padding-top: 70px;
    margin: auto;
    color: white;

}

#submit-button {
    background-color: rgba(37, 150, 138, 255);
    border: 2px solid rgba(254, 215, 67, 255);
    font-size: 25px;
}

#email-label-id {
    border: none;
    border-radius: 0%;
    background-color: rgba(1, 8, 22, 255);
    color: rgba(115, 174, 120, 255);
    font-size: 25px;
}

#password-label-id {
    border: none;
    border-radius: 0%;
    background-color: rgba(1, 8, 22, 255);
    color: rgba(115, 174, 120, 255);
    font-size: 25px;
}

#email {
    border: none;
    color: rgba(125, 155, 127, 255);
    font-size: 25px;
}

#password {
    border: none;
    color: rgba(125, 155, 127, 255);
    font-size: 25px;
}

a {
    color: white;
}

a:hover {
    color: rgba(254, 215, 67, 255);
}

/* new media query */

/* Smartphones (portrait and landscape) ----------- */
@media (max-width: 768px) {

    body {
        font-size: 14px;
        background-size: cover;
        background-position: center left;

    }


    #login-main-card {
        margin-top: 0;
    }

    .login-sec {
        min-height: calc(100vh - 75px);
        padding: 28px 14px;
    }

    .login-card {
        padding: 26px 20px;
        border-radius: 18px;
    }

    .login-card__header h1 {
        font-size: 24px;
    }

}

@media (max-width: 800px) {

    body {
        font-size: 14px;
        background-size: cover;
        background-position: center left;

    }


    .auth-nav {
        width: min(100% - 28px, 1120px);
        min-height: 72px;
    }

    .auth-brand {
        gap: 8px;
        font-size: 15px;
    }

    .auth-brand__mark {
        width: 36px;
        height: 36px;
        font-size: 12px;
    }

    .auth-nav__link {
        min-height: 38px;
        padding: 0 12px;
    }

    .auth-user-name {
        display: none;
    }
}

/* @media (min-width:1024px){
    .navbar {
            height: 100px;
    
        }
    #login-main-card {
    
            margin-top: 50px;
        }
} */
