.mcr-container {
    width: 100%;
    margin: 20px 0;
    font-family: inherit;
}
.mcr-action-bar {
    margin-bottom: 25px;
    text-align: right;
}
.mcr-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    font-size: 14px;
    transition: background 0.2s ease;
}
.mcr-btn-primary {
    background-color: #0073aa;
    color: #fff !important;
}
.mcr-btn-primary:hover {
    background-color: #005177;
}
.mcr-btn-submit {
    background-color: #23d46a;
    color: #fff;
    width: 100%;
    padding: 12px;
    margin-top: 10px;
}
.mcr-btn-submit:hover {
    background-color: #1ca853;
}
.mcr-btn-view {
    background-color: #f0f0f1;
    color: #3c434a !important;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    text-decoration: none;
    border: 1px solid #dcdcde;
    display: inline-block;
}
.mcr-btn-view:hover {
    background-color: #0073aa;
    color: #fff !important;
    border-color: #0073aa;
}

/* Modal Popup Styles */
.mcr-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.6);
    z-index: 99999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.mcr-popup-box {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    width: 100%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
.mcr-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    cursor: pointer;
    color: #aaa;
}
.mcr-close:hover {
    color: #000;
}

/* Form Styles */
.mcr-form-group {
    margin-bottom: 15px;
    text-align: left;
}
.mcr-form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 14px;
}
.mcr-form-group input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}
.required { color: red; }

/* Table Styles */
.mcr-table-title {
    margin: 20px 0 10px 0;
    font-weight: bold;
}
.mcr-table-responsive {
    overflow-x: auto;
    width: 100%;
    margin-bottom: 20px;
}
.mcr-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
    background: #fff;
}
.mcr-table th, .mcr-table td {
    border: 1px solid #e5e7eb;
    padding: 12px 15px;
    text-align: left;
    font-size: 14px;
}
.mcr-table th {
    background-color: #f8fafc;
    color: #1f2937;
    font-weight: 700;
}
.mcr-artist-label {
    color: #6b7280;
    font-weight: normal;
    font-size: 13px;
}
.mcr-status {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    display: inline-block;
}
.badge-warning { background-color: #fef3c7; color: #d97706; }
.badge-success { background-color: #dcfce7; color: #15803d; }
.mcr-text-muted { color: #9ca3af; }

/* Pagination Styles */
.mcr-pagination {
    margin-top: 20px;
    text-align: center;
}
.mcr-pagination .page-numbers {
    display: inline-block;
    padding: 8px 14px;
    margin: 0 4px;
    border: 1px solid #ddd;
    border-radius: 4px;
    text-decoration: none;
    color: #0073aa;
}
.mcr-pagination .page-numbers.current {
    background: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

/* Responsive Table */
@media screen and (max-width: 600px) {
    .mcr-action-bar { 
        text-align: center; 
    }
    .mcr-table th, .mcr-table td { 
        padding: 8px 10px; 
        font-size: 13px; 
    }
    .mcr-btn-view { 
        padding: 4px 8px; 
        font-size: 11px; 
    }
    
    /* โค้ดที่เพิ่มเข้ามา: ซ่อนคอลัมน์ที่ 1 (วันที่ขอ) ทั้งในส่วนหัว (th) และเนื้อหา (td) */
    .mcr-table th:nth-child(1),
    .mcr-table td:nth-child(1) {
        display: none;
    }
}
