@charset "utf-8";

* { font-family: 'Bai Jamjuree', sans-serif; }

/* Banner */
.header-parallax {
    height: 40vh;
    background-size: cover; background-position: center; background-attachment: fixed;
    display: flex; justify-content: center; align-items: center; text-align: center;
    position: relative; margin-bottom: 40px;
}
.header-parallax::before {
    content: ''; position: absolute; top:0; left:0; width:100%; height:100%;
    background: rgba(0,0,0,0.6);
}
.header-con { 
    position: relative; z-index: 1; color: #fff; padding: 30px 50px;
    background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 215, 0, 0.5); border-radius: 10px; 
}
.header-con h1 { font-size: 2rem; font-weight: 700; margin-bottom: 10px; color: #FFD700; }
.header-con p { font-size: 1.1rem; color: #ddd; margin: 0; letter-spacing: 1px; }

/* Card Section */
.oit-section { margin-bottom: 40px; }
.oit-card {
    background: #fff; border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden; border: 1px solid rgba(0,0,0,0.05);
}
.card-header-badge {
    background: linear-gradient(135deg, #5A0000, #3a0000);
    padding: 15px 30px; border-bottom: 4px solid #FFD700;
}
.card-header-badge h3 { margin: 0; color: #fff; font-size: 1.4rem; font-weight: 700; }
.card-header-badge i { margin-right: 10px; color: #FFD700; }
.card-body-content { padding: 30px; }

/* Procurement List */
.procurement-list { display: flex; flex-direction: column; gap: 15px; }

.procurement-item {
    display: flex; align-items: center; padding: 20px;
    background: #fdfdfd; border: 1px solid #eee; border-radius: 10px;
    transition: all 0.2s;
}
.procurement-item:hover {
    background: #fffbf0; border-color: #FFD700;
    transform: translateY(-2px); box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.item-icon {
    font-size: 1.8rem; color: #5A0000; margin-right: 20px;
    background: #fff; width: 50px; height: 50px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%; box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.item-content { flex-grow: 1; }
.item-content h5 { font-size: 1.1rem; font-weight: 600; color: #333; margin-bottom: 5px; }

.date-badge {
    font-size: 0.85rem; background: #e0e0e0; color: #555;
    padding: 3px 10px; border-radius: 20px; font-weight: 500;
}

.item-action { margin-left: 20px; }
.btn-dl {
    display: inline-flex; align-items: center; padding: 10px 20px;
    background: #5A0000; color: #fff; text-decoration: none;
    border-radius: 50px; font-size: 0.9rem; transition: 0.2s;
}
.btn-dl:hover { background: #7a0000; color: #fff; }
.btn-dl i { margin-right: 5px; }

/* Disabled Item */
.procurement-item.disabled { opacity: 0.7; background: #f9f9f9; }
.procurement-item.disabled:hover { transform: none; box-shadow: none; border-color: #eee; }
.btn-dl.disabled { background: #ccc; cursor: default; }

/* Responsive */
@media (max-width: 768px) {
    .header-con h1 { font-size: 1.5rem; }
    .procurement-item { flex-direction: column; text-align: center; gap: 15px; }
    .item-icon { margin-right: 0; }
    .item-action { margin-left: 0; width: 100%; }
    .btn-dl { width: 100%; justify-content: center; }
}