/* Styles for Customer Login Page (/HTML/customer-login.html) */

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.login-card {
    background: white;
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 400px;
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.login-header p {
    color: #666;
}

.toggle-form {
    text-align: center;
    margin-top: 1.5rem;
    color: #666;
}

.toggle-link {
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
    font-weight: 500;
}

.toggle-link:hover {
    color: var(--secondary-color);
}

.form-tabs {
    display: flex;
    margin-bottom: 2rem;
    border-bottom: 2px solid var(--border-color);
}

.form-tab {
    flex: 1;
    padding: 1rem;
    text-align: center;
    cursor: pointer;
    font-weight: 600;
    color: #666;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.form-tab.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

.form-content {
    display: none;
}

.form-content.active {
    display: block;
}

.forgot-password-link {
    text-align: right;
    margin-top: 0.75rem;
}

.seller-enquiry-link {
    text-align: right;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.otp-divider {
    text-align: center;
    color: #999;
    font-size: 0.85rem;
    margin: 1.25rem 0;
}

.whatsapp-otp-section {
    margin-top: 0.5rem;
}

.whatsapp-otp-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    text-align: center;
}

.register-details-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 1rem;
    text-align: center;
}

.btn-full-width {
    width: 100%;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-size: 1rem;
    justify-content: center;
}

.btn-whatsapp-otp {
    width: 100%;
    padding: 0.75rem 1.5rem;
    background-color: #25D366;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 0.5rem;
}

.btn-whatsapp-otp:hover {
    background-color: #1ebe5d;
}

.btn-whatsapp-otp:disabled {
    background-color: #a8e6c1;
    cursor: not-allowed;
}
