.login-card {
    border-radius: 25px;
}

.login-card label {
    color: var(--color1);
}

.login-card input {
    border-radius: 10px;
    border: 1px solid var(--color43);
}

.login-card input:focus {
    border-color: var(--color1);
    box-shadow: 0 0 0 0.2rem rgba(var(--color1-rgb), 0.25);
}

.remember-me label {
    color: black !important;
}

.forget-password {
    color: var(--color1);
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
}

.forget-password:hover {
    text-decoration: underline;
}

.sign-in-button {
    background-color: var(--color1);
    border-radius: 25px;
    border: none;
    color: white;
    padding: 2% 20%;
    transition: all 0.3s ease;
}

.sign-in-button:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.resend-otp-button {
    background-color: transparent;
    border: none;
    color: var(--color1);
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
}

.resend-otp-button:hover {
    text-decoration: underline;
}

.new-to-taxoero {
    color: grey;
    font-size: 15px;
}

.new-to-taxoero span a {
    color: var(--color1);
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
}

.new-to-taxoero span a:hover {
    text-decoration: underline;
}

/* Tab Styles */
.login-tabs {
    display: flex;
    border-bottom: 2px solid #e0e0e0;
    margin-bottom: 20px;
}

.tab-button {
    flex: 1;
    background: none;
    border: none;
    padding: 12px 0;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.tab-button.active {
    color: var(--color1);
}

.tab-button.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: var(--color1);
}

.tab-button:hover:not(.active) {
    color: var(--color1);
}

/* OTP Section */
.otp-section {
    margin-top: 15px;
}

.otp-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.otp-input-group input {
    flex: 1;
}

.verify-otp-button {
    background-color: var(--color1);
    border-radius: 10px;
    border: none;
    color: white;
    padding: 10px 20px;
    white-space: nowrap;
}

/* Password Field Group */
.password-field {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #666;
}

/* Error Messages */
.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
}

/* Loading State */
.loading {
    opacity: 0.7;
    pointer-events: none;
}

/* Flash Messages */
.flash-message .alert {
    border-radius: 10px;
    font-size: 14px;
}

.flash-message .close {
    cursor: pointer;
}

@media screen and (min-width: 481px) {
    .login-card .login-card-header {
        background-color: var(--color1);
        color: white;
        border-radius: 50px;
        border: none;
        padding: 3% 0%;
        text-align: center;
        font-size: 25px;
    }
    
    .remember-me {
        text-align: left;
    }
    
    .forget-password {
        text-align: right;
    }
}

@media screen and (max-width: 480px) {
    .login-card {
        padding-left: 20px;
        padding-right: 20px;
    }

    .login-card .login-card-header {
        background-color: var(--color1);
        color: white;
        border-radius: 50px;
        border: none;
        padding: 2% 0%;
        text-align: center;
        font-size: 18px;
    }
    
    .remember-me {
        text-align: center;
    }
    
    .forget-password {
        text-align: center;
    }
    
    .otp-input-group {
        flex-direction: column;
    }
    
    .verify-otp-button {
        width: 100%;
    }
    
    .tab-button {
        font-size: 14px;
    }
}