/* Reset dan Dasar */
body {
    font-family: 'Arial', sans-serif;
    background-color: #f8f9fa;
    color: #333;
    line-height: 1.4;
}

.main-wrapper {
    background: #fff;
    padding: 30px;
    border: 1px solid #ddd;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    /* max-width: 900px; */
    margin: 20px auto;
}

/* Header Logos */
.logo-header {
    height: 45px;
    object-fit: contain;
}

/* Judul dan Garis */
.title-line {
    border-top: 1px solid #777;
    opacity: 1;
    margin: 5px auto;
    width: 100%;
}

.section-title {
    font-size: 1.1rem;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

/* Daftar Petunjuk & Bahaya */
.instruction-list, .hazard-list {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 0.85rem;
}

@media (min-width: 768px) {
    .hazard-list {
        column-count: 1;
        column-gap: 30px;
    }
}

/* --- PERBAIKAN PENYEJAJARAN & SPASI --- */

/* Kontainer Asset GHS & APD dibuat lebih tinggi agar tidak mepet */
.symbol-container, .apd-container {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 85px; /* Ditinggikan agar ruang lebih lega */
    padding: 10px;
    vertical-align: middle;
}

.symbol-img {
    height: 82px; /* Sedikit diperbesar agar proporsional */
    margin: 0 5px;
}

.apd-img {
    height: 76px;
    margin: 0 5px;
}

/* Bagian Box Perusahaan */
.company-box {
    border: 1.5px solid #222e5e; 
    border-radius: 10px;
    padding: 12px 15px !important; /* Padding ditambah agar tidak mepet ke border */
    background-color: #fff;
    display: inline-flex; 
    align-items: center;
    min-height: 85px; /* Samakan min-height dengan APD */
    max-width: 100%;
    vertical-align: middle;
}

.company-logo-wrapper {
    border-right: 1.5px solid #222e5e !important;
    padding-right: 15px;
    margin-right: 15px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.company-logo-wrapper img {
    width: 110px !important;
    height: auto;
}

.company-text h6 {
    font-size: 0.85rem;
    color: #000;
    margin-bottom: 2px;
    font-weight: bold;
    line-height: 1.2;
}

.company-text .info-text {
    font-size: 0.7rem;
    line-height: 1.25;
    color: #000;
    margin-bottom: 0;
    font-weight: 500;
}

/* Responsif Mobile */
@media (max-width: 576px) {
    .main-wrapper {
        padding: 15px;
        margin: 10px;
    }
    
    .symbol-container, .apd-container, .company-box {
        min-height: auto;
        height: auto;
        padding: 8px !important;
    }

    .logo-header {
        height: 35px;
    }

    .instruction-list, .hazard-list {
        font-size: 0.75rem;
    }

    .company-logo-wrapper img {
        width: 85px !important;
    }

    .company-text h6 {
        font-size: 0.75rem;
    }

    .company-text .info-text {
        font-size: 0.65rem;
    }
}