@import url("https://fonts.googleapis.com/css2?family=TikTok+Sans:opsz,wght@12..36,300..900&display=swap");

.auth {
    height: 100vh;
    overflow: hidden;
}

.auth .firstHalf {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    background: linear-gradient(155deg,rgba(21, 176, 222, 1) 0%, rgba(233, 4, 122, 1) 100%);
    padding: 4%;
    font-family: "TikTok Sans", sans-serif;
}

.auth .firstHalf .bottom-elemets h1 {
    font-size: 6rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 20px;
}

.auth .firstHalf .bottom-elemets p {
    font-size: 0.9rem;
    color: #fff;
    opacity: 0.8;
    line-height: 25px;
}

.auth .secondHalf {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100vh;
    padding: 4%;
    position: relative;
}

/* Color logo for mobile - hidden by default */
.mobile-logo {
    display: none;
    text-align: center;
    margin-bottom: 20px;
}

.mobile-logo img {
    width: 25%;
    max-width: 150px;
}

.auth .secondHalf h3 {
    font-size: 3rem;
    font-weight: 600;
    color: #12151C;
    margin-bottom: 20px;
}

.auth .secondHalf label {
    font-size: 0.8rem;
    color: #12151C;
    font-weight: 500;
    opacity: 0.5;
    margin-bottom: 10px;
    letter-spacing: 2px;
}

.auth .secondHalf input {
    width: 100%;
    height: 50px;
    border: none;
    border-radius: 0px;
    border-bottom: 1px solid #12151C;
    outline: none;
    padding: 0 20px 0 0;
    font-size: 0.8rem;
    font-weight: 400;
    color: #12151C;
    box-shadow: none;
    background: transparent;
}

.auth .secondHalf input:focus {
    border-bottom: 1px solid #12151C;
}

.auth .secondHalf input::placeholder {
    color: #12151C;
    opacity: 0.3;
    font-size: 0.8rem;
}

.auth .secondHalf .btn-login {
    background-color: #12151C;
    border: none;
    color: #fff;
    box-shadow: none;
    width: 100%;
    height: 70px;
    font-size: 1.5rem;
    font-weight: 400;
    border-radius: 35px;
}

.auth .secondHalf .btn-login:hover {
    background-color: #1a1e26;
}

.auth .secondHalf .forgot-password {
    font-size: 1.2rem;
    text-decoration: underline;
    font-weight: 500;
    text-underline-offset: 5px;
    text-decoration-thickness: 1px;
    text-decoration-color: #12151C;
}

.auth .secondHalf .forgot-password a {
    color: #12151C;
    text-decoration: none;
}

.auth .secondHalf .forgot-password a:hover {
    text-decoration: underline;
}

.auth .secondHalf .copyright-footer {
    font-size: 0.9rem;
    color: #12151C;
    opacity: 0.4;
    margin-top: 20px;
    text-align: center;
}

.auth .secondHalf .copyright-footer p {
    margin: 0;
    line-height: 1.5;
}

.auth .secondHalf .copyright-footer a {
    color: #12151C;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.auth .secondHalf .copyright-footer a:hover {
    opacity: 1;
    text-decoration: underline;
}

/* Tablet Styles - 768px to 991px */
@media (max-width: 991.98px) and (min-width: 768px) {
    .auth {
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 20px;
    }
    
    .auth .firstHalf {
        display: none;
    }
    
    .mobile-logo {
        display: block;
        margin-bottom: 40px;
        padding-top: 30px;
    }
    
    .mobile-logo img {
        width: 15%;
        max-width: 180px;
    }
    
    .auth .secondHalf {
        padding: 20px;
        height: 100vh;
        justify-content: center;
    }
    
    .auth .secondHalf > div:first-child {
        background: #ffffff;
        padding: 50px 40px;
        border-radius: 20px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.1);
        border: 1px solid rgba(0,0,0,0.05);
    }
    
    .auth .secondHalf h3 {
        font-size: 3rem;
        text-align: center;
        margin-bottom: 40px;
        color: #12151C;
        font-weight: 600;
    }
    
    .auth .secondHalf .form-control {
        height: 55px;
        font-size: 1rem;
        background: rgba(18, 21, 28, 0.02);
        border: 1px solid rgba(18, 21, 28, 0.1);
        border-radius: 30px;
        padding: 0 20px;
        margin-bottom: 10px;
    }
    
    .auth .secondHalf .form-control:focus {
        border: 1px solid #12151C;
        background: #ffffff;
    }
    
    .auth .secondHalf .btn-login {
        height: 65px;
        font-size: 1.2rem;
        margin-top: 30px;
        font-weight: 600;
        letter-spacing: 0.5px;
    }
    
    .auth .secondHalf .forgot-password {
        text-align: center !important;
        margin: 30px 0;
        font-size: 1.1rem;
    }
    
    .auth .secondHalf .copyright-footer {
        padding: 30px 40px;
        border-radius: 15px;
        margin-top: 40px;
        text-align: center;
        border-top: none;
    }
}

/* Mobile Styles - Below 768px */
@media (max-width: 767.98px) {
    .auth {
        justify-content: center;
        align-items: center;
        min-height: 100vh;
        padding: 20px;
    }

    .auth {
        padding: 0;
    }
    
    .auth .row {
        height: 100vh;
        margin: 0;
        padding: 0;
    }
    
    .auth .firstHalf {
        display: none;
    }
    
    .mobile-logo {
        display: block;
        margin: 30px 0 20px 0;
        padding: 0 20px;
    }
    
    .mobile-logo img {
        width: 25%;
        max-width: 150px;
    }

    .auth .secondHalf {
        padding: 0;
        height: 100vh;
        justify-content: center;
    }
    
    .auth .secondHalf > div:first-child {
        background: #ffffff;
        margin: 20px 20px 0 20px;
        padding: 40px 30px;
        border-radius: 25px;
        box-shadow: 0 20px 60px rgba(0,0,0,0.15);
        border: 1px solid rgba(0,0,0,0.05);
        min-height: auto;
    }
    
    .auth .secondHalf h3 {
        font-size: 3rem;
        text-align: center;
        margin-bottom: 35px;
        color: #12151C;
        font-weight: 600;
    }
    
    .auth .secondHalf label {
        display: none;
    }
    
    .auth .secondHalf .form-control {
        height: 55px;
        font-size: 1rem;
        background: rgba(18, 21, 28, 0.02);
        border: 1px solid rgba(18, 21, 28, 0.1);
        border-radius: 30px;
        padding: 0 20px;
        margin-bottom: 15px;
    }
    
    .auth .secondHalf .form-control:focus {
        border: 1px solid #12151C;
        background: #ffffff;
    }
    
    .auth .secondHalf .btn-login {
        height: 60px;
        font-size: 1.2rem;
        margin-top: 25px;
        background: #12151C;
        font-weight: 500;
        letter-spacing: 0.5px;
    }
    
    .auth .secondHalf .btn-login:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 35px rgba(18, 21, 28, 0.25);
    }
    
    .auth .secondHalf .forgot-password {
        font-size: 1rem;
        text-align: center !important;
        margin: 25px 0;
    }
    
    .auth .secondHalf .copyright-footer {
        margin: 20px 20px 30px 20px;
        padding: 25px 20px;
        border-radius: 20px;
        border-top: none;
    }
    
    .auth .secondHalf .copyright-footer p {
        font-size: 0.85rem;
        margin: 0;
        line-height: 1.6;
    }
}

/* Extra small devices - Below 576px */
@media (max-width: 575.98px) {
    .mobile-logo img {
        width: 35%;
        max-width: 140px;
    }
    
    .auth .secondHalf > div:first-child {
        margin: 15px 15px 0 15px;
        padding: 35px 25px;
    }
    
    .auth .secondHalf h3 {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .auth .secondHalf .form-control {
        height: 52px;
        padding: 0 18px;
        border-radius: 30px;
    }
    
    .auth .secondHalf .btn-login {
        height: 58px;
        font-size: 1.1rem;
    }
    
    .auth .secondHalf .copyright-footer {
        margin: 15px 15px 25px 15px;
        padding: 20px 15px;
    }
    
    .auth .secondHalf .copyright-footer p {
        font-size: 0.8rem;
    }
}

/* Landscape mobile orientation */
@media (max-height: 600px) and (orientation: landscape) and (max-width: 991.98px) {
    .mobile-logo {
        margin: 15px 0 10px 0;
    }
    
    .mobile-logo img {
        width: 25%;
        max-width: 100px;
    }
    
    .auth .secondHalf > div:first-child {
        margin: 10px 20px 0 20px;
        padding: 25px 30px;
    }
    
    .auth .secondHalf h3 {
        font-size: 3rem;
        margin-bottom: 20px;
    }
    
    .auth .secondHalf .form-control {
        height: 45px;
        margin-bottom: 10px;
    }
    
    .auth .secondHalf .btn-login {
        height: 50px;
        font-size: 1rem;
        margin-top: 15px;
    }
    
    .auth .secondHalf .forgot-password {
        margin: 15px 0;
        text-align: center;
        font-size: 0.9rem;
    }
    
    .auth .secondHalf .copyright-footer {
        margin: 10px 20px 20px 20px;
        padding: 15px 20px;
    }
    
    .auth .secondHalf .copyright-footer p {
        font-size: 0.75rem;
        line-height: 1.4;
    }
}