/* Custom Admin Styles */
#header {
    background: #1a1a1a;
    color: #fff;
    min-height: 80px !important;
    height: 80px !important;
    display: flex;
    align-items: center;
}

#branding {
    display: flex;
    align-items: center;
}

#branding h1 {
    color: #fff;
}

/* Hide theme switcher */
[data-theme-switcher],
.theme-toggle,
#theme-toggle,
button[data-theme-switcher],
.theme-switcher,
#header button[data-theme-switcher] {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    width: 0 !important;
    height: 0 !important;
    position: absolute !important;
    pointer-events: none !important;
}

/* Header buttons */
#header .object-tools a:link,
#header .object-tools a:visited,
.object-tools a.addlink,
.object-tools a.viewsitelink,
.object-tools a {
    background: #ec248f;
    color: #fff;
    border-radius: 4px;
    padding: 8px 16px;
    font-weight: 500;
}

#header .object-tools a:hover,
.object-tools a.addlink:hover,
.object-tools a.viewsitelink:hover,
.object-tools a:hover {
    background: #ff4db2;
}

/* Filter styles */
#changelist-filter h2 {
    background: #1a1a1a;
    color: #fff;
}

#changelist-filter h3 {
    color: #333;
}

#changelist-filter li.selected a {
    color: #ec248f !important;
}

#changelist-filter li a {
    color: #666 !important;
}

#changelist-filter li a:hover {
    color: #ec248f !important;
}

.module h2, .module caption, .inline-group h2 {
    background: #1a1a1a;
}

div.breadcrumbs {
    background: #333;
}

/* Links color */
a:link, a:visited {
    color: #ec248f;
}

a:hover {
    color: #ff4db2;
}

.module h2 a.section:link,
.module h2 a.section:visited {
    color: #fff;
}

/* Buttons */
.button, input[type=submit], input[type=button], .submit-row input, a.button {
    background: #ec248f;
    color: #fff;
    border-radius: 4px;
    padding: 8px 16px;
    border: none;
    font-weight: 500;
    transition: background 0.2s ease;
}

.button:hover, input[type=submit]:hover, input[type=button]:hover {
    background: #ff4db2;
}

.button.default, input[type=submit].default, .submit-row input.default {
    background: #ec248f;
}

.button.default:hover, input[type=submit].default:hover {
    background: #ff4db2;
}

/* Selected row color */
.row1:hover,
.row2:hover {
    background: #ffe5f3;
}

/* Table header links */
thead th a:link,
thead th a:visited {
    color: #ec248f;
}

/* Sidebar */
.module h2, .module caption, .inline-group h2,
.module h2 a.section:link,
.module h2 a.section:visited {
    color: #fff;
}

/* Additional filter styles */
.changelist-filter-select {
    color: #333 !important;
}

.filtered .actions {
    background: #fff;
}

.filtered .actions label {
    color: #333;
}

.filtered .actions select {
    color: #333;
}

/* List filter */
.list-filter {
    border-color: #ec248f;
}

.list-filter a {
    color: #ec248f !important;
}

.list-filter a:hover {
    color: #ff4db2 !important;
}

/* Filter links */
.changelist-filter a,
.changelist-filter li a {
    color: #ec248f !important;
}

.changelist-filter a:hover,
.changelist-filter li a:hover {
    color: #ff4db2 !important;
}

/* Selected filter */
.changelist-filter li.selected {
    border-left: 5px solid #ec248f;
}

.changelist-filter li.selected a {
    color: #ec248f !important;
}

/* Statistics page specific styles */
.statistics-container {
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.statistics-container h2 {
    color: #ec248f;
    margin-bottom: 20px;
}

.statistics-container .stat-box {
    border: 1px solid #ec248f;
    border-radius: 4px;
    padding: 15px;
    margin-bottom: 15px;
}

.statistics-container .stat-value {
    color: #ec248f;
    font-size: 24px;
    font-weight: bold;
}

/* Date picker and filters */
.date-range-filter {
    margin: 20px 0;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 4px;
}

.date-range-filter label {
    color: #333;
    margin-right: 10px;
}

.date-range-filter input[type="date"] {
    background: #fff;
    color: #333;
    border: 1px solid #ccc;
}

.date-range-filter input[type="date"]:focus {
    border-color: #ec248f;
    outline: none;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    #header {
        min-height: 80px !important;
        height: 80px !important;
        padding: 10px 20px;
    }
}

@media (max-width: 767px) {
    #header {
        min-height: 80px !important;
        height: 80px !important;
        padding: 10px 15px;
    }
}
