* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to bottom, #1C1F36, #121423);
    color: white;
    font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    min-height: 100vh;
}

header {
    background: rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 1.5rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

header h1 {
    font-size: 1.8rem;
    font-weight: bold;
    text-transform: uppercase;
    color: #C6F60A;
    margin-bottom: 0.5rem;
}

header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.container {
    display: flex;
    max-width: 1400px;
    margin: 2rem auto;
    gap: 2rem;
    padding: 0 1rem;
}

.main-content {
    flex: 1;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
}

.sidebar {
    width: 320px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    height: fit-content;
}

.sidebar h2 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #C6F60A;
    text-transform: uppercase;
    font-weight: bold;
}

/* FullCalendar customization */
#calendar {
    max-width: 100%;
}

.fc {
    background: transparent !important;
}

.fc-theme-standard td,
.fc-theme-standard th {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.fc-theme-standard .fc-scrollgrid {
    border-color: rgba(255, 255, 255, 0.2) !important;
}

.fc .fc-toolbar-title {
    color: #C6F60A !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

.fc .fc-button-primary {
    background: #C6F60A !important;
    border-color: #C6F60A !important;
    color: #121423 !important;
    font-weight: bold !important;
}

.fc .fc-button-primary:hover {
    background: #b5e400 !important;
    border-color: #b5e400 !important;
}

.fc .fc-button-primary:disabled {
    background: rgba(198, 246, 10, 0.3) !important;
    border-color: rgba(198, 246, 10, 0.3) !important;
}

.fc .fc-col-header-cell {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #C6F60A !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
}

.fc .fc-daygrid-day-number {
    color: white !important;
}

.fc .fc-day-today {
    background: rgba(198, 246, 10, 0.1) !important;
}

.fc-event {
    border-radius: 4px !important;
    border: none !important;
}

.fc-event .fc-event-title,
.fc-event .fc-event-time {
    font-weight: 600 !important;
    color: #ffffff !important;
}

/* Event list */
.event-list {
    list-style: none;
}

.event-item {
    padding: 1rem;
    margin-bottom: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 4px solid #C6F60A;
    cursor: pointer;
    transition: all 0.2s;
}

.event-item:hover {
    background: rgba(198, 246, 10, 0.1);
    transform: translateX(4px);
}

.event-item.canceled {
    border-left-color: #f44336;
    opacity: 0.6;
}

.event-date {
    font-size: 0.85rem;
    color: #C6F60A;
    margin-bottom: 0.3rem;
    font-weight: bold;
}

.event-title {
    font-weight: 600;
    margin-bottom: 0.3rem;
    color: white;
}

.event-location {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.event-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-top: 0.5rem;
}

.tag {
    background: rgba(198, 246, 10, 0.2);
    color: #C6F60A;
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: bold;
}

.actions {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.btn {
    display: inline-block;
    width: 100%;
    padding: 0.8rem;
    background: #C6F60A;
    color: #121423;
    text-align: center;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    text-transform: uppercase;
    transition: background 0.2s;
}

.btn:hover {
    background: #b5e400;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: rgba(255, 255, 255, 0.5);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    overflow: auto;
}

.modal-content {
    background: #1e1f2a;
    max-width: 600px;
    margin: 3rem auto;
    border-radius: 10px;
    padding: 2rem;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.modal-close:hover {
    color: #C6F60A;
}

.modal h2 {
    margin-bottom: 1rem;
    color: #C6F60A;
    text-transform: uppercase;
    font-weight: bold;
}

.modal-detail {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-detail:last-child {
    border-bottom: none;
}

.modal-label {
    font-weight: 600;
    color: #C6F60A;
    font-size: 0.85rem;
    margin-bottom: 0.3rem;
    text-transform: uppercase;
}

.modal-value {
    color: rgba(255, 255, 255, 0.9);
    white-space: pre-wrap;
}

.modal-value a {
    color: #C6F60A;
    text-decoration: none;
}

.modal-value a:hover {
    text-decoration: underline;
}

.updated-badge {
    display: inline-block;
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    .sidebar {
        width: 100%;
    }

    header h1 {
        font-size: 1.4rem;
    }
}
