/* ==========================================================================
   WooCommerce Extended Registration & Social Login Stylesheet
   ========================================================================== */

/* Name fields side-by-side flex layout */
.wccr-name-fields-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
}

.wccr-name-fields-row .form-row {
    flex: 1;
    margin-bottom: 0;
    float: none !important;
    width: 100% !important;
}

@media (max-width: 480px) {
    .wccr-name-fields-row {
        flex-direction: column;
        gap: 0;
    }
}

/* Optional Billing Section */
.wccr-optional-billing-container {
    margin: 20px 0 15px 0;
    border-top: 1px dashed #e2e8f0;
    padding-top: 15px;
}

.wccr-toggle-billing-btn {
    background: #f8fafc;
    color: #334155;
    border: 1px solid #cbd5e1;
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
    width: 100%;
    justify-content: center;
}

.wccr-toggle-billing-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.wccr-billing-fields-wrap {
    margin-top: 15px;
    background: #f8fafc;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

/* Social Login Divider */
.wccr-social-login-wrapper {
    margin-top: 25px;
    margin-bottom: 10px;
    text-align: center;
}

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

.wccr-social-divider:before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e2e8f0;
    z-index: 1;
}

.wccr-social-divider span {
    position: relative;
    z-index: 2;
    background: #ffffff;
    padding: 0 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #64748b;
    text-transform: uppercase;
}

/* Social Buttons Container */
.wccr-social-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.wccr-social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
    cursor: pointer;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

/* Google Button */
.wccr-btn-google {
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.wccr-btn-google:hover {
    background: #f9fafb;
    border-color: #9ca3af;
    color: #111827;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Facebook Button */
.wccr-btn-facebook {
    background: #1877F2;
    color: #ffffff;
    border: 1px solid #1877F2;
}

.wccr-btn-facebook:hover {
    background: #166fe5;
    border-color: #166fe5;
    color: #ffffff;
    box-shadow: 0 2px 6px rgba(24, 119, 242, 0.3);
}

.wccr-social-icon {
    flex-shrink: 0;
}
