/**
 * Performance fixes - button contrast and accessibility
 * Extracted from inline styles for better caching
 *
 * @package Directory
 */

/* Improve contrast for primary buttons */
.btn.btn-primary {
    background-color: #cc0066 !important;
    border-color: #cc0066 !important;
    color: #ffffff !important;
}

.btn.btn-primary:hover {
    background-color: #b3005c !important;
}

/* Improve contrast for girl-phone button */
.girl-phone {
    background-color: #cc0066 !important;
    border-color: #cc0066 !important;
    color: #ffffff !important;
}

.girl-phone:hover {
    background-color: #b3005c !important;
}

.girl-phone span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}

/* Improve contrast for girl-ws (WhatsApp) button - very dark green background */
.girl-ws,
.btn.btn-tertiary.girl-ws,
.girl-ws.btn-tertiary {
    background-color: #0a6b44 !important;
    border-color: #0a6b44 !important;
    color: #ffffff !important;
}

.girl-ws:hover,
.btn.btn-tertiary.girl-ws:hover,
.girl-ws.btn-tertiary:hover {
    background-color: #085530 !important;
}

/* CRITICAL: Override transparent text for WhatsApp button span */
.girl-ws span,
.btn.btn-tertiary.girl-ws span,
.girl-ws.btn-tertiary span,
.girl-ws.-active span,
.btn.btn-tertiary.girl-ws.-active span,
.girl-ws.btn-tertiary.-active span {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background-image: none !important;
    -webkit-background-clip: initial !important;
    background-clip: initial !important;
}

/* Ensure the span is not transparent - override any inherited styles */
.girl-ws span *,
.btn.btn-tertiary.girl-ws span *,
.girl-ws.btn-tertiary span * {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
}
