/* Laporan Masyarakat Widget Styles (Modern Redesign) */

.laporan-widget-modern {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    padding: 25px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hover Animation for the Card */
.laporan-widget-modern:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

/* Decorative Circle Background */
.laporan-widget-modern::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 150px;
    height: 150px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

.laporan-widget-modern::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    pointer-events: none;
}

/* Header Text */
.laporan-widget-modern h3 {
    color: white;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0 10px 0;
    letter-spacing: 1px;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Description Text */
.laporan-widget-modern p.desc {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 20px;
    text-align: center;
}

/* Button Styling */
.laporan-widget-modern .btn-lapor {
    background: linear-gradient(to right, #ffc107, #ff9800);
    color: #000;
    border: none;
    border-radius: 50px;
    /* Pill shape */
    padding: 12px 25px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    width: 100%;
    display: block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.laporan-widget-modern .btn-lapor:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.6);
    background: linear-gradient(to right, #ffca28, #ffa726);
    color: #000;
    text-decoration: none;
}

/* Recent Reports Section */
.laporan-widget-modern .recent-reports {
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    padding-top: 15px;
    margin-top: 20px;
}

.laporan-widget-modern .recent-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
    letter-spacing: 0.5px;
}

.laporan-widget-modern .report-item {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 10px 12px;
    margin-bottom: 10px;
    border-left: 3px solid #ffc107;
}

.laporan-widget-modern .report-tag {
    background: #ffc107;
    color: #000;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 9px;
    font-weight: 700;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 4px;
}

.laporan-widget-modern .report-subject {
    color: white;
    font-size: 12px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* View All Link */
.laporan-widget-modern .link-view-all {
    display: block;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 12px;
    text-decoration: none;
    margin-top: 10px;
    transition: color 0.2s;
}

.laporan-widget-modern .link-view-all:hover {
    color: white;
    text-decoration: underline;
}

/* Modal Styles Override */
#laporanModal .modal-header {
    background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
    color: white;
    border-bottom: none;
}

#laporanModal .close {
    color: white;
    opacity: 0.8;
    text-shadow: none;
}

#laporanModal .close:hover {
    opacity: 1;
}