/* Make all labels darker */
.form-label {
    color: #1a1a1a !important;
    font-weight: 500;
}

/* Make card titles darker */
.card-title {
    color: #1a1a1a !important;
}

/* Make small text darker (but not too dark) */
small.text-muted {
    color: #4a5568 !important;
}

/* Make placeholder text darker */
.form-control::placeholder,
.form-control::-webkit-input-placeholder {
    color: #6b7280 !important;
    opacity: 1;
}

/* Make input text darker */
.form-control, .form-select, textarea.form-control {
    color: #1a1a1a !important;
}

/* Make table text darker */
.table {
    color: #1a1a1a !important;
}

/* Make badge text more visible */
.badge {
    font-weight: 500;
}

/* Make breadcrumb darker */
.breadcrumb-item, .breadcrumb-item a {
    color: #4a5568 !important;
}

/* Make general text-muted darker */
.text-muted {
    color: #4a5568 !important;
}

/* Featured image label */
label.text-muted {
    color: #6b7280 !important;
}

/* Button text */
.btn {
    font-weight: 500;
}

/* Media Section Styles */
.drop-zone {
    border: 2px dashed #d1d5db;
    border-radius: 12px;
    padding: 60px 20px;
    text-align: center;
    background-color: #f9fafb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.drop-zone:hover {
    border-color: #9ca3af;
    background-color: #f3f4f6;
}

.drop-zone.drag-over {
    border-color: #3b82f6;
    background-color: #eff6ff;
    border-width: 3px;
}

.drop-zone-content {
    pointer-events: none;
}

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

.image-card {
    position: relative;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
    transition: all 0.2s ease;
    cursor: move;
}

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

.image-card.featured {
    border: 2px solid #3b82f6;
}

.image-card-preview {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}

.image-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.image-card:hover .image-card-overlay {
    opacity: 1;
}

.image-card-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    background: #3b82f6;
    color: white;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    z-index: 1;
}

.image-card-actions {
    display: flex;
    gap: 8px;
}

.image-card-btn {
    background: white;
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.image-card-btn:hover {
    transform: scale(1.1);
}

.image-card-btn.delete:hover {
    background: #ef4444;
    color: white;
}

.image-card-btn.featured:hover {
    background: #3b82f6;
    color: white;
}

.dragging {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
        gap: 12px;
    }
}

