/*
Theme Name: ZeroWagerBonus
Theme URI: https://zerowagerbonus.com
Author: ZWB: Website Dev
Author URI: https://zerowagerbonus.com
Description: A high-performance, dark-mode iGaming theme converted from React. Features 0x Wager filtering and crypto-specific components.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GPU
Text Domain: zerowagerbonus
Tags: dark-mode, gambling, crypto, custom-theme
*/

/* * NOTE: Main styling is handled by Tailwind CSS (via CDN in functions.php).
 * Add custom non-Tailwind CSS overrides below.
 */

/* Force dark mode background to prevent white flash on load */
body {
    background-color: #050505;
    color: #e5e7eb;
}

/* --- GLOBAL TYPOGRAPHY DEFAULTS --- */
h1 {
    font-size: 1.875rem;      /* text-3xl */
    line-height: 2.25rem;
    font-weight: 900;         /* font-black */
    color: #ffffff;           /* Base color White */
    letter-spacing: -0.025em; /* tracking-tight */
    text-transform: uppercase; /* ALL CAPS REQUESTED */
    margin: 0;
    padding: 0;
}

h1 strong, h1 span.highlight {
    color: #D90429; /* Brand Red */
}

/* --- CONTENT TYPOGRAPHY (THE "PROSE" CLASS) --- */
/* This styles the raw HTML content from the WordPress Editor */

.prose {
    color: #9ca3af; /* text-gray-400 */
    font-size: 1rem; /* base size */
    line-height: 1.75;
    max-width: 100%;
}

/* Headings inside content */
.prose h2, .prose h3, .prose h4 {
    color: #ffffff;
    font-weight: 800; /* font-extrabold */
    text-transform: uppercase;
    letter-spacing: -0.025em;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.prose h2 { font-size: 1.5rem; border-bottom: 1px solid #27272a; padding-bottom: 0.5rem; }
.prose h3 { font-size: 1.25rem; }
.prose h4 { font-size: 1.125rem; }

/* Paragraphs */
.prose p {
    margin-bottom: 1.5rem;
}

/* Lists */
.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #d1d5db; /* gray-300 */
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
    color: #d1d5db;
}

.prose li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* Marker color fix */
.prose li::marker {
    color: #52525b; /* zinc-600 */
}

/* Links */
.prose a {
    color: #D90429; /* brand-red */
    text-decoration: none;
    font-weight: 700;
    transition: color 0.2s;
}

.prose a:hover {
    text-decoration: underline;
    color: #ffffff;
}

/* Bold text */
.prose strong, .prose b {
    color: #ffffff;
    font-weight: 700;
}

/* Blockquotes */
.prose blockquote {
    border-left: 4px solid #D90429;
    background: rgba(217, 4, 41, 0.05); /* brand-red / 5% */
    padding: 1.5rem;
    font-style: italic;
    color: #d1d5db; 
    margin: 2rem 0;
    border-radius: 0 0.75rem 0.75rem 0;
}

/* Images */
.prose img {
    border-radius: 0.75rem;
    border: 1px solid #27272a;
    margin: 2rem auto;
    max-width: 100%;
    height: auto;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
}

/* Tables */
.prose table {
    width: 100%;
    margin-bottom: 2rem;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.prose th {
    text-align: left;
    padding: 0.75rem;
    color: #ffffff;
    font-weight: 700;
    border-bottom: 2px solid #27272a;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.05em;
}

.prose td {
    padding: 0.75rem;
    border-bottom: 1px solid #27272a;
}

/* --- CONTACT FORM 7 STYLES --- */
/* Custom styling for CF7 inputs to match dark theme */

.wpcf7-form-control-wrap {
    display: block !important;
    margin-bottom: 1rem;
}

.wpcf7-form-control {
    width: 100% !important;
    background-color: #09090b !important; /* Zinc-950 / brand-surface */
    color: #ffffff !important;
    border: 1px solid #27272a !important; /* Zinc-800 / brand-border */
    border-radius: 0.75rem !important;
    padding: 0.75rem 1rem !important;
    font-family: inherit;
    font-size: 0.875rem !important;
    transition: all 0.2s ease-in-out;
}

/* Fix for browser autofill background colors */
.wpcf7-form-control:-webkit-autofill,
.wpcf7-form-control:-webkit-autofill:hover, 
.wpcf7-form-control:-webkit-autofill:focus {
    -webkit-text-fill-color: #ffffff !important;
    -webkit-box-shadow: 0 0 0px 1000px #000000 inset !important;
    transition: background-color 5000s ease-in-out 0s;
}

/* Focus state for inputs */
.wpcf7-form-control:focus {
    border-color: #D90429 !important; /* brand-red */
    box-shadow: 0 0 0 2px rgba(217, 4, 41, 0.1) !important;
    outline: none !important;
}

/* Placeholder color */
.wpcf7-form-control::placeholder {
    color: #52525b !important; /* Zinc-600 */
}

/* Submit Button Override */
.wpcf7-submit {
    background-color: #D90429 !important;
    color: white !important;
    font-weight: 800 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    border: none !important;
    cursor: pointer !important;
    margin-top: 1rem !important;
}

.wpcf7-submit:hover {
    background-color: #ef233c !important; /* lighter red */
    transform: translateY(-1px);
    box-shadow: 0 10px 15px -3px rgba(217, 4, 41, 0.3);
}