/* Admin Panel Styles */

.filter-select {
    background: #1e293b;
    border: 1px solid #334155;
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    min-width: 120px;
    transition: all 0.2s ease;
}

.filter-select:hover {
    border-color: #666;
}

.filter-select:focus {
    outline: none;
    border-color: #007acc;
    box-shadow: 0 0 0 2px rgba(0, 122, 204, 0.2);
}

.loading-row {
    text-align: center;
    padding: 40px !important;
    color: #888;
}

.loading-spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 1px solid #334155;
    border-radius: 50%;
    border-top-color: #007acc;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.summary-card {
    background: #1e293b;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    border: 1px solid #334155;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.summary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.summary-card h3 {
    color: white;
    margin: 0 0 10px 0;
    font-size: 1.1rem;
}

.summary-card span {
    color: #007acc;
    font-size: 2rem;
    font-weight: bold;
}

/* Responsive design */

/* Image Management Styles */
.boss-images-row {
    margin-top: 10px;
    padding: 15px;
    background: #1e293b;
    border-radius: 8px;
    border: 1px solid #334155;
}

.image-upload-section {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.image-count {
    color: #94a3b8;
    font-size: 14px;
}

.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
}

.image-item {
    position: relative;
    background: #0f172a;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid #334155;
}

.image-item .thumbnail {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.image-actions {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px;
    display: flex;
    justify-content: center;
}

.no-images {
    grid-column: 1 / -1;
    text-align: center;
    color: #64748b;
    padding: 30px;
    font-style: italic;
}

.btn-small {
    padding: 4px 8px;
    font-size: 12px;
    border-radius: 4px;
}

.btn-outline {
    background: transparent;
    border: 1px solid #64748b;
    color: #e2e8f0;
}

.btn-outline:hover {
    background: #64748b;
    color: #0f172a;
}

.btn-danger {
    background: #dc2626;
    border: 1px solid #dc2626;
    color: white;
}

.btn-danger:hover {
    background: #b91c1c;
    border-color: #b91c1c;
}