/* Global Dark Theme */
body,
#page,
#content,
#main,
.site-content,
.entry-content,
.post-content,
.page-content,
.site {
    background-color: #1a1a1a !important;
    color: #ffffff !important;
}

/* Headers */
h1, h2, h3, h4, h5, h6,
.site-title,
.entry-title,
.page-title {
    color: #ffffff !important;
}

/* Links */
a {
    color: #4ade80 !important;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 0.8;
}

/* Navigation */
.main-navigation,
.nav-menu,
.menu,
.site-header {
    background-color: #222222 !important;
}

.main-navigation a,
.nav-menu a,
.menu a {
    color: #ffffff !important;
}

/* Buttons */
button,
.button,
.wp-block-button__link,
input[type="button"],
input[type="reset"],
input[type="submit"] {
    background-color: #4ade80 !important;
    color: #000000 !important;
    border: none !important;
    transition: background-color 0.2s ease;
}

button:hover,
.button:hover,
.wp-block-button__link:hover,
input[type="button"]:hover,
input[type="reset"]:hover,
input[type="submit"]:hover {
    background-color: #22c55e !important;
}

/* Form Elements */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
input[type="tel"],
input[type="range"],
input[type="date"],
input[type="month"],
input[type="week"],
input[type="time"],
input[type="datetime"],
input[type="datetime-local"],
input[type="color"],
textarea,
select {
    background-color: #2a2a2a !important;
    border: 1px solid #333333 !important;
    color: #ffffff !important;
}

/* Footer */
.site-footer,
#colophon {
    background-color: #222222 !important;
    color: #ffffff !important;
}

/* Widgets */
.widget,
.widget-area {
    background-color: #222222 !important;
    color: #ffffff !important;
}

/* Cards and Boxes */
.card,
.box,
article,
.wp-block-group {
    background-color: #222222 !important;
}

/* Tables */
table {
    background-color: #222222 !important;
    color: #ffffff !important;
}

th, td {
    border-color: #333333 !important;
}

/* WordPress Admin Bar */
#wpadminbar {
    background-color: #222222 !important;
}

/* Blockquotes */
blockquote {
    background-color: #2a2a2a !important;
    border-left-color: #4ade80 !important;
}

/* Custom Classes */
.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.site-title {
    color: #4ade80 !important;
}

/* Mobile Menu */
.mobile-menu,
.responsive-menu {
    background-color: #222222 !important;
}

/* Search */
.search-form,
.search-field {
    background-color: #2a2a2a !important;
}

/* Placeholders */
::placeholder {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Selection */
::selection {
    background-color: #4ade80 !important;
    color: #000000 !important;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

/* Meta information */
.entry-meta,
.post-meta,
.meta {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Code blocks */
pre, code {
    background-color: #2a2a2a !important;
    border: 1px solid #333333 !important;
}

/* Fix for WordPress elements */
.wp-block-cover,
.wp-block-cover-image {
    background-color: transparent !important;
}

/* Pagination */
.pagination,
.nav-links {
    color: #ffffff !important;
}

.page-numbers {
    background-color: #2a2a2a !important;
    color: #ffffff !important;
}

.page-numbers.current {
    background-color: #4ade80 !important;
    color: #000000 !important;
}

/* Comments */
.comment-list,
.comment-body {
    background-color: #222222 !important;
    color: #ffffff !important;
}

/* Fix for images */
img {
    opacity: 0.9;
}

img:hover {
    opacity: 1;
}

