/* FILE: /meeting-room/widget/assets/css/widget-style.css */
.bkr-widget-wrapper {
    font-family: 'Sarabun', sans-serif;
    border: 1px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    padding: 15px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.bkr-widget-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}
.bkr-widget-header i {
    margin-right: 8px;
    color: #0d6efd;
}
.bkr-widget-list {
    list-style: none;
    padding: 0;
    margin: 0;
}
.bkr-widget-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 5px;
    border-bottom: 1px dashed #f0f0f0;
    font-size: 0.95rem;
}
.bkr-widget-list li:last-child {
    border-bottom: none;
}
.bkr-widget-status {
    font-weight: bold;
    font-size: 0.9rem;
    padding: 3px 8px;
    border-radius: 20px;
}
.bkr-status-available { color: #198754; background-color: #d1e7dd; }
.bkr-status-booked { color: #dc3545; background-color: #f8d7da; }
.bkr-widget-footer {
    margin-top: 20px;
    display: flex; /* ใช้ Flexbox เพื่อจัดวางปุ่ม */
    justify-content: center; /* จัดให้อยู่กึ่งกลางแนวนอน */
    gap: 15px; /* สร้างระยะห่างระหว่างปุ่ม */
    flex-wrap: wrap; /* ทำให้ปุ่มตัดขึ้นบรรทัดใหม่ได้บนจอเล็กมากๆ */
}
.bkr-widget-button,
.bkr-widget-button:link,
.bkr-widget-button:visited {
    display: inline-flex; /* ใช้ inline-flex เพื่อให้ icon กับ text อยู่กลาง */
    align-items: center;
    justify-content: center;

    width: auto; /* ทำให้ความกว้างพอดีกับเนื้อหา */
    padding: 10px 20px; /* ปรับ Padding ให้เหมาะสม */

    color: #fff !important;
    text-align: center;
    text-decoration: none !important;
    border-radius: 8px;
    font-size: 1.1rem; /* อาจจะลดขนาดฟอนท์ลงเล็กน้อยเพื่อให้พอดี */
    font-weight: 500;
    transition: background-color 0.2s, box-shadow 0.2s;
}

/* สไตล์สำหรับปุ่ม "จอง" */
.bkr-widget-button {
    background-color: #0d6efd;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}
.bkr-widget-button:hover {
    background-color: #0a58ca;
}

/* สไตล์สำหรับปุ่ม "แอดมิน" */
.bkr-widget-button.admin-btn {
    background-color: #6c757d; /* สีเทา */
    box-shadow: 0 4px 8px rgba(108, 117, 125, 0.3);
}
.bkr-widget-button.admin-btn:hover {
    background-color: #5a6268;
}

.bkr-widget-button i {
    margin-right: 8px; /* ระยะห่างระหว่างไอคอนกับข้อความ */
}