.mfs-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.6);
}

.mfs-modal-content {
    background: #fff;
    width: 90%;
    max-width: 400px;
    margin: 10% auto;
    padding: 20px;
    position: relative;
    border-radius: 8px;
}

.mfs-close {
    position: absolute;
    right: 10px;
    top: 10px;
    cursor: pointer;
    font-size: 20px;
}

.mfs-modal input,
.mfs-modal textarea {
    width: 100%;
    margin-bottom: 10px;
    padding: 8px;
}
/* container ของรายการไฟล์ */
.file-download-list {
    max-width: 1000px;
    margin: 0 auto;
}

/* กล่องแต่ละไฟล์ */
.file-download-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #ffffff;
    border-radius: 14px;
    padding: 18px 22px;
    margin-bottom: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
}

/* ด้านซ้าย: ไอคอน + ข้อมูล */
.file-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* ไอคอน PDF */
.file-icon {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
}

.file-icon img {
    width: 100%;
    height: auto;
}

/* ข้อความไฟล์ */
.file-text {
    line-height: 1.4;
}

.file-title {
    font-size: 16px;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
}

.file-meta {
    font-size: 13px;
    color: #6b7280;
}

/* ปุ่ม Download */
.file-download-btn {
    background: #0f766e; /* เขียวเข้ม */
    color: #ffffff;
    padding: 10px 22px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.file-download-btn:hover {
    background: #115e59;
    transform: translateY(-1px);
}
