/* Marcomm Report Generator Styles */
:root {
    --primary: #4361ee;
    --primary-dark: #3a56d4;
    --secondary: #6c757d;
    --success: #198754;
    --bg-page: #f8f9fa;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background-color: var(--bg-page);
    color: #333;
}

/* Navbar */
.navbar-brand {
    font-size: 1.1rem;
}

/* Cards */
.card {
    border-radius: 12px;
    transition: box-shadow 0.2s;
}

.card:hover {
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

/* Drop Zone */
.drop-zone {
    border: 2px dashed #dee2e6;
    border-radius: 12px;
    padding: 2rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fafbfc;
    position: relative;
}

.drop-zone:hover,
.drop-zone.dragover {
    border-color: var(--primary);
    background: rgba(67, 97, 238, 0.04);
}

.drop-zone.dragover {
    transform: scale(1.02);
}

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

/* File Preview */
.file-preview-item {
    display: inline-flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 6px 12px;
    margin: 4px;
    font-size: 0.85rem;
}

.file-preview-item img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 4px;
    margin-right: 8px;
}

.file-preview-item .remove-file {
    cursor: pointer;
    color: #dc3545;
    margin-left: 8px;
}

/* Photo Grid */
.photo-card {
    transition: transform 0.2s;
}

.photo-card:hover {
    transform: translateY(-2px);
}

/* Accordion */
.accordion-button:not(.collapsed) {
    background-color: rgba(67, 97, 238, 0.06);
    color: var(--primary);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: rgba(67, 97, 238, 0.25);
}

/* Stats Cards */
.card .bg-opacity-10 {
    opacity: 1;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
}

.btn-group-sm .btn {
    border-radius: 6px;
}

/* Tables */
.table th {
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #6c757d;
}

/* Progress Bar */
.progress {
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    border-radius: 10px;
}

/* Badge */
.badge {
    font-weight: 500;
}

/* Login Page */
.min-vh-100 {
    min-height: 100vh;
}

/* Responsive */
@media (max-width: 768px) {
    .card-body {
        padding: 1rem;
    }

    .btn-group-sm .btn {
        padding: 0.2rem 0.4rem;
    }
}

/* Footer */
.footer {
    background: white;
}

/* Upload spinner */
.uploading {
    opacity: 0.6;
    pointer-events: none;
}

/* Toast notification */
.toast-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 1050;
}

/* Category Warning Banner */
.alert-warning.category-banner {
    background: linear-gradient(135deg, #fff8e1 0%, #fff3cd 100%);
    border-left: 4px solid #ffc107 !important;
    animation: banner-pulse 2s ease-in-out 1;
}

@keyframes banner-pulse {
    0%, 100% { box-shadow: 0 2px 8px rgba(255, 193, 7, 0.2); }
    50% { box-shadow: 0 4px 16px rgba(255, 193, 7, 0.4); }
}

@media (max-width: 768px) {
    .alert-warning.category-banner {
        flex-direction: column;
        text-align: center;
    }
    .alert-warning.category-banner .ms-3 {
        margin-left: 0 !important;
        margin-top: 0.75rem;
    }
}
