/* ResourceCalendar.css */

.rc-container {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header styles */
.rc-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.rc-button {
    padding: 8px 12px;
    margin-right: 8px;
    background-color: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.rc-button:hover {
    background-color: #e6e6e6;
}

.rc-button.active {
    background-color: #20c997;
    color: white;
    border-color: #20c997;
}

.rc-navButton {
    font-weight: bold;
}

.rc-dateLabel {
    font-size: 18px;
    font-weight: bold;
    margin: 0 12px;
    flex-grow: 1;
}

.rc-viewSelector {
    display: flex;
}

.rc-modeSwitcher {
    margin-bottom: 16px;
}

/* Month View */
.rc-monthGrid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    border: 1px solid #ddd;
}

.rc-monthHeader {
    font-weight: bold;
    text-align: center;
    padding: 8px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.rc-monthCell {
    height: 80px;
    padding: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
    cursor: pointer;
}

.rc-monthCell:hover {
    background-color: #f8f9fa;
}

.rc-monthCell.today {
    background-color: #e8f4ff;
}

.rc-cellDate {
    font-weight: bold;
    margin-bottom: 4px;
}

.rc-bookingCount {
    font-size: 12px;
    color: #666;
}

/* Week View */
.rc-weekDays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    margin-bottom: 1px;
}

.rc-weekDay {
    font-weight: bold;
    text-align: center;
    padding: 8px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
}

.rc-weekCells {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
}

.rc-weekCell {
    height: 120px;
    padding: 8px;
    border: 1px solid #ddd;
    overflow: hidden;
    cursor: pointer;
}

.rc-weekCell:hover {
    background-color: #f8f9fa;
}

/* Day View */
.rc-dayView {
    border: 1px solid #ddd;
}

.rc-dayHeaderRow {
    display: grid;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.rc-resourceHeader {
    padding: 10px;
    text-align: center;
    font-weight: bold;
    border-left: 1px solid #ddd;
}

.rc-timeColumnHeader {
    padding: 10px;
    border-right: 1px solid #ddd;
}

.rc-dayBodyRow {
    display: grid;
    max-height: calc(100vh - 300px);
    overflow-y: auto;
}

.rc-timeColumn {
    border-right: 1px solid #ddd;
}

.rc-timeSlot {
    height: 36px;
    padding: 8px;
    text-align: right;
    border-bottom: 1px solid #eee;
    font-size: 12px;
    color: #666;
}

.rc-resourceColumn {
    position: relative;
    border-left: 1px solid #ddd;
}

.rc-slotEmpty {
    height: 36px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

.rc-slotEmpty:hover {
    background-color: #f0f8ff;
}

.rc-bookingBlock {
    position: absolute;
    left: 1px;
    right: 1px;
    background-color: #4dabf7;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 10;
    overflow: hidden;
}

.rc-bookingTitle {
    font-weight: bold;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.rc-bookingTime {
    font-size: 12px;
    opacity: 0.9;
}

.rc-unavailBlock {
    position: absolute;
    left: 1px;
    right: 1px;
    background-color: #adb5bd;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    cursor: pointer;
    z-index: 10;
    text-align: center;
}

/* Export/Import buttons */
.rc-exportImport {
    margin-top: 20px;
    text-align: right;
} 