/* JUANEWS BookHub DarkTime v2 - global dark theme styling */

/* Global body */
body {
    background-color: #05070a !important;
    color: #e5e7eb !important;
}

/* Basic text */
body p,
body span,
body li,
body td,
body th {
    color: #e5e7eb !important;
}

/* Links */
a {
    color: #facc15;
    text-decoration: none;
}
a:hover {
    color: #fde047;
    text-decoration: underline;
}

/* Header / Navbar */
header,
.site-header,
.navbar,
.top-bar {
    background: #020617 !important;
    color: #e5e7eb !important;
    border-bottom: 1px solid #1f2937 !important;
}
header a,
.site-header a,
.navbar a,
.top-bar a {
    color: #e5e7eb !important;
}
header a:hover,
.site-header a:hover,
.navbar a:hover,
.top-bar a:hover {
    color: #facc15 !important;
}

/* Footer */
footer,
.site-footer {
    background: #020617 !important;
    color: #9ca3af !important;
    border-top: 1px solid #1f2937 !important;
}
.site-footer a {
    color: #e5e7eb !important;
}
.site-footer a:hover {
    color: #facc15 !important;
}

/* Cards, widgets, content boxes */
.card,
.widget,
.sidebar,
.box,
.panel,
.entry-content,
article,
.post,
.book-item,
.bookhub-item,
.bookhub-card,
.jeg_post,
.jeg_block_container {
    background: #020617 !important;
    border-radius: 12px !important;
    border: 1px solid #111827 !important;
    box-shadow: 0 18px 45px rgba(0,0,0,0.45) !important;
}

/* Generic containers */
.site,
.wrap,
.container,
.jeg_main,
.jeg_content {
    background: transparent !important;
}

/* Buttons */
button,
input[type="submit"],
.button,
.btn,
.wp-block-button__link,
.jeg_btn {
    background: #facc15 !important;
    border-color: #facc15 !important;
    color: #111827 !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    border-radius: 999px !important;
}
button:hover,
input[type="submit"]:hover,
.button:hover,
.btn:hover,
.wp-block-button__link:hover,
.jeg_btn:hover {
    background: #eab308 !important;
    border-color: #eab308 !important;
    color: #020617 !important;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
textarea,
select {
    background: #020617 !important;
    color: #e5e7eb !important;
    border: 1px solid #374151 !important;
    border-radius: 8px !important;
}
input::placeholder,
textarea::placeholder {
    color: #6b7280 !important;
}

/* Tables */
table {
    background: #020617 !important;
    border-color: #1f2937 !important;
}
th,
td {
    border-color: #1f2937 !important;
}

/* Titles */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: #f9fafb !important;
}

/* Images in cards stay normal */
.card img,
.bookhub-item img,
.bookhub-card img,
.jeg_post img {
    filter: none !important;
}

/* Avoid over-darkening admin bar when logged in */
#wpadminbar {
    background: #111827 !important;
}
#wpadminbar a.ab-item {
    color: #e5e7eb !important;
}
#wpadminbar a.ab-item:hover {
    color: #facc15 !important;
}
