
.login-container {
    margin: 40px auto;
    padding: 20px;
}

.login-box {
    background: #fff;
    padding: 30px;
}

.login-title {
    text-align: center;
    margin-bottom: 30px;
    color: #333;
    font-size: 24px;
}

.selected-plan-info {
    background-color: #f8f9fa;
    border-left: 4px solid #007bff;
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.plan-details {
    margin: 10px 0;
    padding: 10px;
    background: #ffffff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.plan-details p {
    margin: 5px 0;
    color: #666;
}

.social-login-section {
    margin-bottom: 30px;
}

.social-login-section h3 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
    font-size: 18px;
}

.auth-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #ddd;
}

.tab-btn {
    padding: 10px 20px;
    margin: 0 10px;
    border: none;
    background: none;
    color: #666;
    cursor: pointer;
    font-size: 16px;
    position: relative;
}

.tab-btn.active {
    color: #007bff;
}

.tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #007bff;
}

.divider {
    text-align: center;
    position: relative;
    margin: 20px 0;
}

.divider::before,
.divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 45%;
    height: 1px;
    background: #ddd;
}

.divider::before { left: 0; }
.divider::after { right: 0; }

.divider span {
    background: #fff;
    padding: 0 10px;
    color: #666;
}

.auth-form {
    max-width: 400px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.submit-btn {
    width: 100%;
    padding: 12px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.forgot-password {
    text-align: center;
    margin-top: 15px;
}

.forgot-password a {
    color: #007bff;
    text-decoration: none;
    font-size: 14px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.modal-content {
    background-color: #fff;
    margin: 15% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 24px;
    cursor: pointer;
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255,255,255,0.9);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    z-index: 1001;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader-text {
    margin-top: 10px;
    color: #666;
}

#error-container,
#success-container {
    padding: 10px 15px;
    border-radius: 4px;
    margin-top: 15px;
    text-align: center;
    display: none;
}

#error-container {
    background: #fff3f3;
    color: #d63031;
    border-left: 4px solid #d63031;
}

#success-container {
    background: #d4edda;
    color: #155724;
    border-left: 4px solid #155724;
}

@media (max-width: 768px) {
    .login-container {
        padding: 0;
        margin: 20px auto;
    }

    .login-box {
        padding: 0;
    }

    .tab-btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}
