/**
 * Button Background Fix
 * Ensures brand black background is applied to buttons ONLY
 */

/* Fix for Create Account buttons - only the button itself */
button[type="submit"] {
    background-color: #141414 !important;
    color: white !important;
}

button[type="submit"]:hover {
    background-color: #222222 !important;
    color: white !important;
}

/* Legalnar registration button specific fix */
.legalnar-register-btn,
button.legalnar-register-btn {
    background-color: #141414 !important;
    color: white !important;
    cursor: pointer;
}

.legalnar-register-btn:hover,
button.legalnar-register-btn:hover {
    background-color: #222222 !important;
    color: white !important;
    transform: translateY(-2px);
}

/* Links styled as buttons with black background */
a.bg-cod-gray {
    background-color: #141414 !important;
    color: white !important;
}

a.bg-cod-gray:hover {
    background-color: #222222 !important;
    color: white !important;
}

/* Ensure form text and labels stay black/gray */
label,
input[type="text"],
input[type="email"],
input[type="password"],
input[type="tel"],
select,
textarea,
.text-cod-gray,
.text-mine-shaft,
.text-gray-600,
.text-gray-500,
form p,
form span:not(button span) {
    color: inherit !important;
}

/* Specific fix for form labels */
.block.text-sm.font-medium.text-cod-gray {
    color: #141414 !important;
}

/* Input field text should be dark */
input:not([type="submit"]):not([type="button"]),
select,
textarea {
    color: #141414 !important;
    background-color: white !important;
}

/* Gray background inputs */
input.bg-gray-100,
input.bg-gallery {
    background-color: #F0F0F0 !important;
    color: #141414 !important;
}