/* Warning Images Grid - Fixed Alignment */
    .warning-images {
        position: relative;
    }

    .warning-image-main img {
        width: 100%;
        height: 250px;
        object-fit: cover;
        border-radius: 12px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    }

    .warning-image-grid {
        margin-top: 0;
    }

    .warning-image-grid .row {
        margin: 0 -10px;
    }

    .warning-image-grid .col-6 {
        padding: 0 10px;
    }

    .small-image-container {
        background: white;
        border-radius: 10px;
        padding: 15px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        position: relative;
        overflow: hidden;
    }

    .small-image-container:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    .small-image-container::after {
        content: "Click for details";
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        background: rgba(220, 53, 69, 0.9);
        color: white;
        padding: 5px;
        font-size: 11px;
        text-align: center;
        transform: translateY(100%);
        transition: transform 0.3s ease;
    }

    .small-image-container:hover::after {
        transform: translateY(0);
    }

    .small-image-container img {
        width: 100%;
        height: 120px;
        object-fit: contain;
        margin-bottom: 10px;
        transition: transform 0.3s ease;
    }

    .small-image-container:hover img {
        transform: scale(1.05);
    }

    .small-image-container p {
        color: #333;
        font-size: 14px;
        line-height: 1.3;
        font-weight: 600;
    }

    .small-image-container.active {
        border: 2px solid #dc3545;
        background-color: rgba(220, 53, 69, 0.05);
    }

    /* Warning List Items */
    .warning-item {
        display: flex;
        align-items: flex-start;
        padding: 15px;
        background: white;
        border-radius: 10px;
        margin-bottom: 15px;
        box-shadow: 0 3px 10px rgba(0,0,0,0.08);
        transition: all 0.3s ease;
        border-left: 4px solid transparent;
        cursor: pointer;
    }

    .warning-item:hover {
        transform: translateX(5px);
        box-shadow: 0 5px 15px rgba(0,0,0,0.12);
    }

    .warning-item.active {
        border: 2px solid #dc3545;
        background-color: rgba(220, 53, 69, 0.05);
    }

    .warning-item:nth-child(1) {
        border-left-color: #ffc107;
    }

    .warning-item:nth-child(2) {
        border-left-color: #dc3545;
    }

    .warning-item:nth-child(3) {
        border-left-color: #007bff;
    }

    .warning-item:nth-child(4) {
        border-left-color: #17a2b8;
    }

    .warning-item i {
        font-size: 1.8rem;
        min-width: 40px;
        text-align: center;
    }

    .warning-item h5 {
        font-weight: 600;
        margin-bottom: 5px;
        color: #333;
    }

    .warning-item p {
        margin-bottom: 0;
        color: #666;
        font-size: 0.95rem;
    }

    /* Modal Styles */
    .warning-modal-content {
        padding: 10px;
    }

    #warningUrgency.badge {
        font-size: 0.9rem;
        padding: 5px 15px;
    }

    /* Responsive adjustments */
    @media (max-width: 768px) {
        .warning-image-main img {
            height: 200px;
        }
        
        .small-image-container img {
            height: 100px;
        }
        
        .warning-image-grid .row {
            margin: 0 -5px;
        }
        
        .warning-image-grid .col-6 {
            padding: 0 5px;
        }
    }

    @media (max-width: 576px) {
        .warning-image-main img {
            height: 180px;
        }
        
        .small-image-container img {
            height: 80px;
        }
        
        .small-image-container {
            padding: 10px;
        }
        
        .small-image-container p {
            font-size: 12px;
        }
        
        .warning-item {
            padding: 12px;
        }
        
        .warning-item h5 {
            font-size: 1rem;
        }
    }