.calendar-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.calendar-header button {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 4px;
    cursor: pointer;
}

.calendar-header button:hover {
    background-color: #0056b3;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background-color: #ddd;
    border-radius: 4px;
    overflow: hidden;
}

.calendar-day-header {
    background-color: #6c757d;
    color: white;
    padding: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 14px;
}

.calendar-day {
    background-color: white;
    min-height: 80px;
    padding: 8px;
    position: relative;
    cursor: pointer;
    border: 1px solid transparent;
}

.calendar-day:hover {
    background-color: #f8f9fa;
}

.calendar-day.other-month {
    background-color: #f5f5f5;
    color: #999;
}

.calendar-day.today {
    background-color: #e3f2fd;
    border-color: #007bff;
}

.calendar-day.selected {
    background-color: #007bff;
    color: white;
}

.day-number {
    font-weight: bold;
    margin-bottom: 5px;
}

.event-dot {
    width: 6px;
    height: 6px;
    background-color: #dc3545;
    border-radius: 50%;
    display: inline-block;
    margin: 1px;
}

.add-event-btn {
    background-color: #28a745;
    margin-top: 15px;
}

.add-event-btn:hover {
    background-color: #218838;
}

.events-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.lkc-event-item {
    background: white;
    padding: 15px;
    margin-bottom: 10px;
    border-radius: 4px;
    border-left: 4px solid #28a745;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    -webkit-touch-callout: none;
}

.lkc-event-firstline {
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.lkc-event-description {
    color: #666;
    font-style: italic;
    margin-bottom: 5px;
}

.location-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: bold;
    color: white;
    font-size: 14px;
    margin: 0;
}

.emb-btn {
    background-color: #007bff;
}

.emb-btn:hover {
    background-color: #0056b3;
}

.csb-btn {
    background-color: #28a745;
}

.csb-btn:hover {
    background-color: #218838;
}

.lkc-event-location-emb {
    color: #007bff;
    font-weight: bold;
}

.lkc-event-location-csb {
    color: #28a745;
    font-weight: bold;
}

.lkc-event-location-other {
    color: #8b4513;
    font-weight: bold;
}

.time-dropdown {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    max-height: 200px;
    overflow-y: auto;
}

.time-dropdown-content {
    display: flex;
    flex-direction: column;
}

.time-option {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    text-align: center;
    min-width: 40px;
}

.time-option:hover {
    background-color: #f8f9fa;
}

.time-option:last-child {
    border-bottom: none;
}

.quick-minute-btn {
    padding: 6px 10px;
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    min-width: 32px;
}

.quick-minute-btn:hover {
    background-color: #0056b3;
}

.delete-btn {
    background-color: #6c757d;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 12px;
    margin-left: 5px;
}

.delete-btn:hover {
    background-color: #5a6268;
}

@media (max-width: 768px) {
    .calendar-container {
        margin: 0;
        padding: 5px;
        border-radius: 0;
        overflow-x: auto;
    }
    
    .events-section {
        margin: 0;
        padding: 5px;
        border-radius: 0;
    }
    
    .lkc-event-item {
        margin: 0 0 5px 0;
        padding: 8px;
    }
    
    .calendar-grid {
        min-width: 350px;
        overflow-x: auto;
    }
    
    .calendar-day {
        min-width: 45px;
        min-height: 60px;
        padding: 4px;
    }
    
    .calendar-day-header {
        padding: 8px 4px;
        font-size: 12px;
    }
}