/* Custom Login Form Styles */
.custom-login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 611px;
}

.custom-login-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 560px;
    width: 100%;
    border: 1px solid #e5e7eb;
    font-family: var(--wp--preset--font-family--jost) !important;
}

.login-header {
    text-align: center;
    margin-bottom: 24px;
}

.login-title {
    font-size: 48px;
    font-weight: 400;
    color: #1f2937;
    margin: 0 0 8px 0;
    line-height: 1.2;
    margin-bottom: 24px;
}

.login-subtitle {
    color: #6b7280;
    font-size: 18px;
    margin: 0;
    line-height: 1.4;
}

.custom-login-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    position: relative;
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #1C1C1C;
    border-radius: 2px;
    font-size: 16px;
    transition: all 0.2s ease;
    background-color: white;
    box-sizing: border-box;
}

.form-input:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-input::placeholder {
    color: #9ca3af;
}

.login-button {
    background: #B8860B;
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 2px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 8px;
}

.login-button:hover {
    background: linear-gradient(135deg, #b45309 0%, #92400e 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(217, 119, 6, 0.3);
}


/* Error and Success Messages */
.login-message {
    padding: 12px 16px;
    border-radius: 2px;
    margin-bottom: 20px;
    font-size: 14px;
    line-height: 1.4;
}

.login-message.error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
}

.login-message.success {
    background-color: #f0fdf4;
    border: 1px solid #bbf7d0;
    color: #16a34a;
}


/* Form Input Focus States */
.form-input.error {
    border-color: #dc2626;
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

/* Loading State for Button */
.login-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.login-button.loading {
    position: relative;
    color: transparent;
}

.login-button.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.forgot-password {
    text-align: right;
}

.forgot-password a {
    color: #6b7280;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.forgot-password a:hover {
    color: #a0750a;
    text-decoration: underline;
}

.divider {
    position: relative;
    text-align: center;
    margin: 24px 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e5e7eb;
}

.divider span {
    background: white;
    padding: 0 16px;
    color: #6b7280;
    font-size: 14px;
}

.google-login-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 12px 24px;
    border: 1.5px solid #d1d5db;
    border-radius: 2px;
    background: white;
    color: #374151;
    font-size: 18px;
    font-weight: 400;
    cursor: pointer;
    transition: all 0.2s ease;
}

.google-login-button:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.signup-link {
    text-align: center;
    margin-top: 16px;
    font-size: 16px;
    color: #6b7280;
}

.signup-link a {
    text-decoration: none;
    transition: color 0.3s ease;
    color: #1C1C1C;;
}

.signup-link a:hover {
    color: #a0750a;
    text-decoration: underline;
}

.login-message {
    text-align: center;
    padding: 20px;
    background: #f0f9ff;
    border: 1px solid #bae6fd;
    border-radius: 8px;
    color: #0369a1;
}

/* Responsive Design */
@media (max-width: 480px) {
    .custom-login-card {
        padding: 24px;
        margin: 10px;
    }
    
    .login-title {
        font-size: 24px;
    }
}

/* Additional styles for registration form - Add these to your login.css file */

/* Form Row for First/Last Name */
.form-row {
    display: flex;
    gap: 12px;
}

.form-group.half-width {
    flex: 1;
}

/* Checkbox Styling for Terms Agreement */
.checkbox-group {
    margin: 8px 0;
}

.checkbox-label {
    align-items: center;
    text-align: center;
    font-size: 12px;
    color: #374151;
    line-height: 1.4;
}


.terms-link {
    color: #374151;
    text-decoration: underline;
    font-weight: 500;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #a0750a;
}

/* Responsive Design for Registration Form */
@media (max-width: 480px) {
    .form-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .form-group.half-width {
        flex: none;
    }
}