/* =====================================================
   REPORT PAGES - ENHANCED STYLES
   Version: 1.0
   Description: Report detail and form styling
   ===================================================== */

/* ===================================================== 
   1. REPORT HERO SECTION
   ===================================================== */
.report-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 4rem 0;
    margin: -2rem -15px 3rem;
    position: relative;
    overflow: hidden;
}

.report-hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgb(255 255 255 / 10%) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.report-hero::after {
    content: '';
    position: absolute;
    bottom: -100px;
    left: -100px;
    width: 300px;
    height: 300px;
    background: rgb(255 255 255 / 5%);
    border-radius: 50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.report-hero-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Breadcrumb */
.breadcrumb-modern {
    background: rgb(255 255 255 / 10%);
    backdrop-filter: blur(10px);
    border: 1px solid rgb(255 255 255 / 20%);
    border-radius: 50px;
    padding: 0.75rem 1.5rem;
    margin-bottom: 2rem;
    display: inline-flex;
}

.breadcrumb-modern .breadcrumb-item {
    color: rgb(255 255 255 / 90%);
}

.breadcrumb-modern .breadcrumb-item + .breadcrumb-item::before {
    content: "›";
    color: rgb(255 255 255 / 60%);
    font-weight: 600;
    padding: 0 0.75rem;
}

.breadcrumb-modern a {
    color: rgb(255 255 255 / 90%);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb-modern a:hover {
    color: white;
}

.breadcrumb-modern .active {
    color: white;
    font-weight: 600;
}

/* Report Title */
.report-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 1rem;
    line-height: 1.2;
}

/* Report Meta */
.report-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

.report-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.report-meta-item i {
    width: 20px;
    text-align: center;
    opacity: 0.8;
}

/* Status Badge in Hero */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    backdrop-filter: blur(10px);
}

.status-badge.verified {
    background: rgb(16 185 129 / 20%);
    border: 1px solid rgb(16 185 129 / 30%);
    color: white;
}

.status-badge.unverified {
    background: rgb(245 158 11 / 20%);
    border: 1px solid rgb(245 158 11 / 30%);
    color: white;
}

/* Hero Actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 0.875rem 1.75rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
}

.btn-hero.primary {
    background: rgb(255 255 255 / 20%);
    color: white;
    border-color: rgb(255 255 255 / 30%);
}

.btn-hero.secondary {
    background: rgb(0 0 0 / 10%);
    color: white;
    border-color: rgb(255 255 255 / 20%);
}

.btn-hero:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgb(0 0 0 / 20%);
    background: rgb(255 255 255 / 30%);
    color: white;
    text-decoration: none;
}

/* ===================================================== 
   2. CONTENT CARDS
   ===================================================== */
.report-card {
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgb(0 0 0 / 8%);
    border: 1px solid rgb(0 0 0 / 5%);
    margin-bottom: 2rem;
    overflow: hidden;
    transition: all 0.3s ease;
}

.report-card:hover {
    box-shadow: 0 8px 30px rgb(0 0 0 / 12%);
}

.report-card-header {
    background: linear-gradient(to bottom, rgb(249 250 251 / 80%), transparent);
    border-bottom: 1px solid rgb(0 0 0 / 5%);
    padding: 1.5rem;
}

.report-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.report-card-title i {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border-radius: 10px;
    font-size: 1rem;
}

.report-card-body {
    padding: 1.5rem;
}

/* Field Groups */
.field-group {
    margin-bottom: 1.5rem;
}

.field-group:last-child {
    margin-bottom: 0;
}

.field-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.field-value {
    font-size: 1rem;
    color: #1f2937;
    font-weight: 500;
}

.field-value.empty {
    color: #9ca3af;
    font-style: italic;
    font-weight: 400;
}

/* ===================================================== 
   3. IMPACT ALERTS
   ===================================================== */
.impact-alert {
    background: white;
    border: 2px solid;
    border-radius: 12px;
    padding: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.2s ease;
}

.impact-alert:hover {
    transform: translateX(4px);
}

.impact-alert:last-child {
    margin-bottom: 0;
}

.impact-alert.deaths {
    border-color: #ef4444;
    background: linear-gradient(to right, rgb(239 68 68 / 5%), transparent);
}

.impact-alert.injuries {
    border-color: #f59e0b;
    background: linear-gradient(to right, rgb(245 158 11 / 5%), transparent);
}

.impact-alert.property {
    border-color: #6b7280;
    background: linear-gradient(to right, rgb(107 114 128 / 5%), transparent);
}

.impact-alert.warning {
    border-color: #ef4444;
    background: linear-gradient(to right, rgb(239 68 68 / 5%), transparent);
}

.impact-alert i {
    font-size: 1.5rem;
    width: 30px;
    text-align: center;
    flex-shrink: 0;
}

.impact-alert.deaths i { color: #ef4444; }
.impact-alert.injuries i { color: #f59e0b; }
.impact-alert.property i { color: #6b7280; }
.impact-alert.warning i { color: #ef4444; }

.impact-alert strong {
    font-weight: 700;
    color: #1f2937;
}

.impact-alert small {
    display: block;
    color: #6b7280;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* ===================================================== 
   4. BADGE COLLECTIONS
   ===================================================== */
.badge-collection {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.badge-modern {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    transition: all 0.2s ease;
}

.badge-modern:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgb(0 0 0 / 15%);
}

.badge-modern.weapons { 
    background: linear-gradient(135deg, #374151, #1f2937); 
}

.badge-modern.factors { 
    background: linear-gradient(135deg, #f59e0b, #d97706); 
}

.badge-modern.sources { 
    background: linear-gradient(135deg, #3b82f6, #1d4ed8); 
}

.badge-modern.responders { 
    background: linear-gradient(135deg, #10b981, #059669); 
}

.badge-modern.ages { 
    background: linear-gradient(135deg, #8b5cf6, #7c3aed); 
}

.badge-modern.positions { 
    background: linear-gradient(135deg, #f43f5e, #e11d48); 
}

/* ===================================================== 
   5. RELATED INCIDENTS
   ===================================================== */
.related-incident-link {
    display: block;
    padding: 1rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
    margin-bottom: 0.75rem;
}

.related-incident-link:hover {
    background: #f3f4f6;
    border-color: #667eea;
    transform: translateX(4px);
    text-decoration: none;
}

.related-incident-date {
    font-size: 0.75rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
}

.related-incident-title {
    font-size: 0.875rem;
    color: #1f2937;
    font-weight: 500;
    line-height: 1.4;
}

/* ===================================================== 
   6. RESPONSIVE DESIGN
   ===================================================== */
@media (width <= 768px) {
    .report-hero {
        padding: 3rem 0;
    }
    
    .report-hero-content {
        padding: 0 1.5rem;
    }
    
    .report-title {
        font-size: 2rem;
    }
    
    .report-meta {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .hero-actions {
        justify-content: center;
        width: 100%;
    }
    
    .btn-hero {
        flex: 1;
        justify-content: center;
    }
    
    .report-card {
        margin-bottom: 1.5rem;
    }
    
    .report-card-header,
    .report-card-body {
        padding: 1.25rem;
    }
}

@media (width <= 480px) {
    .report-hero {
        padding: 2rem 0;
    }
    
    .report-hero-content {
        padding: 0 1rem;
    }
    
    .report-title {
        font-size: 1.5rem;
    }
    
    .breadcrumb-modern {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn-hero {
        width: 100%;
    }
}

/* ===================================================== 
   7. DARK MODE SUPPORT
   ===================================================== */












/* ===================================================== 
   8. PRINT STYLES
   ===================================================== */
@media print {
    .report-hero {
        background: none;
        color: black;
        padding: 1rem 0;
        margin: 0;
    }
    
    .report-hero::before,
    .report-hero::after {
        display: none;
    }
    
    .hero-actions {
        display: none;
    }
    
    .report-title {
        color: black;
        font-size: 1.5rem;
    }
    
    .report-meta {
        color: black;
    }
    
    .report-card {
        box-shadow: none;
        border: 1px solid #000000;
        break-inside: avoid;
    }
    
    .breadcrumb-modern {
        display: none;
    }
}