/* Calendar Styles */
#calendar {
    width: 100%;
    height: 800px;
}

/* Calendar List Styles */
.lnb-calendars-item {
    display: inline-block;
    margin-right: 15px;
}

#calendarList {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
}

/* Checkbox Styles */
.checkbox-wrapper {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    white-space: nowrap;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid #ddd;
    border-radius: 3px;
    display: inline-block;
    position: relative;
    margin-right: 5px;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '\2714';
    position: absolute;
    top: 0;
    left: 2px;
    color: #333;
}

.checkbox-label {
    font-size: 14px;
    color: #333;
}

/* Button Styles */
#menu .eg_btn {
    color: #333;
    border: 1px solid #ced4da;
    padding: 8px 12px;
    margin-right: 5px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
}

#menu .eg_btn:hover,
#menu .eg_btn.active {
    background-color: #e9ecef;
    border-color: #ced4da;
}

#menu .eg_btn.theme-light {
    background-color: #ffffff;
    color: #333;
}

#menu .eg_btn.theme-grey {
    background-color: #f0f0f0;
    color: #333;
}

#menu .eg_btn.theme-dark {
    background-color: #343a40;
    color: #ffffff;
}

/* Range Display */
#renderRange {
    font-size: 16px;
    font-weight: bold;
    color: #495057;
}

.btn-group-view {
    float: right;
}

/* Calendar Grid */
.toastui-calendar-weekday-grid-date-decorator {
    background-color: #343a40 !important;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-control {
    display: block;
    width: 100%;
    padding: 0.375rem 0.75rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.form-control:focus {
    border-color: #80bdff;
    outline: 0;
    box-shadow: 0 0 0 0.2rem rgba(0, 123, 255, 0.25);
}

label {
    display: inline-block;
    margin-bottom: 0.5rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(3px);
}

.modal-content {
    background-color: #ffffff;
    margin: 5% auto;
    padding: 30px;
    border: none;
    border-radius: 12px;
    width: 500px;
    max-width: 30%;
    position: relative;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    position: absolute;
    right: 20px;
    top: 15px;
    color: #666;
    font-size: 28px;
    font-weight: 300;
    cursor: pointer;
    transition: color 0.2s ease;
    line-height: 1;
}

.close:hover,
.close:focus {
    color: #000;
}

/* Event Modal Styles */
.event-modal {
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
}

.event-modal .modal-content {
    margin: 40px auto;
    padding: 0;
    border-radius: 16px;
    box-shadow: 0 24px 38px 3px rgba(0,0,0,0.14);
}

.event-modal .modal-header {
    padding: 20px 24px;
    border-bottom: 1px solid #f1f3f4;
    background-color: #f8f9fa;
    border-radius: 16px 16px 0 0;
}

.event-modal .event-title {
    font-size: 20px;
    font-weight: 500;
    color: #202124;
    margin: 0;
    padding-right: 32px;
}

.event-modal .modal-body {
    padding: 20px 24px;
}

.event-modal .event-info {
    display: flex;
    align-items: center;
    margin-bottom: 16px;
    gap: 16px;
}

.event-modal .event-info-icon {
    color: #5f6368;
    font-size: 20px;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.event-modal .event-info-content {
    flex: 1;
    color: #3c4043;
    font-size: 14px;
    line-height: 20px;
    display: flex;
    align-items: center;
    min-height: 24px;
}

.event-modal .event-time {
    font-weight: 500;
    color: #1a73e8;
}

.event-modal .event-description {
    color: #5f6368;
    font-size: 14px;
    line-height: 1.5;
    white-space: pre-wrap;
    margin-top: 16px;
    padding: 12px;
    background-color: #f8f9fa;
    border-radius: 8px;
}

/* Action Buttons */
.event-actions {
    margin-top: 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-edit {
    background-color: #4a90e2;
    color: white;
}

.btn-delete {
    background-color: #dc3545;
    color: white;
}

.event-actions .eg_btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

.event-actions .eg_btn:hover {
    opacity: 0.9;
}

/* Location Search */
.location-search-container {
    position: relative;
}

.location-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.location-result-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
}

.location-result-item:hover {
    background-color: #f5f5f5;
}

/* Participant Search */
.select-search-container {
    position: relative;
    margin-bottom: 10px;
}

.select-search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.select-search-item {
    padding: 8px 12px;
    cursor: pointer;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
}

.select-search-item:hover {
    background-color: #f5f5f5;
}

.selected-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.selected-item {
    background-color: #e9ecef;
    border-radius: 16px;
    padding: 4px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.remove-item {
    cursor: pointer;
    color: #666;
    font-weight: bold;
}

.remove-item:hover {
    color: #dc3545;
} 