.event-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1001;
    backdrop-filter: blur(4px);
}

.event-modal.active {
    display: flex;
}

.event-modal-content {
    background: white;
    border-radius: 12px;
    padding: 32px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.event-modal-header {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
    color: #1e293b;
}

.event-form-group {
    margin-bottom: 20px;
}

.event-form-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #475569;
    margin-bottom: 8px;
}

.event-form-input {
    width: 100%;
    padding: 0;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s;
}

.event-form-input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.event-form-textarea {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #e2e8f0;
    border-radius: 6px;
    font-size: 14px;
    min-height: 80px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.2s;
}

.event-form-textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.emoji-picker {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    padding: 12px;
    background: #f8fafc;
    border-radius: 8px;
    max-height: 200px;
    overflow-y: auto;
}

.emoji-option {
    font-size: 24px;
    padding: 8px;
    cursor: pointer;
    text-align: center;
    border-radius: 6px;
    transition: all 0.2s;
    border: 2px solid transparent;
}

.emoji-option:hover {
    background: white;
    transform: scale(1.1);
}

.emoji-option.selected {
    background: #2563eb;
    border-color: #1e40af;
}

.event-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 24px;
}

.event-modal-btn {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.event-modal-btn-cancel {
    background: #f1f5f9;
    color: #475569;
}

.event-modal-btn-cancel:hover {
    background: #e2e8f0;
}

.event-modal-btn-submit {
    background: #2563eb;
    color: white;
}

.event-modal-btn-submit:hover {
    background: #1e40af;
}

.event-modal-btn-delete {
    background: #ef4444;
    color: white;
    margin-right: auto;
}

.event-modal-btn-delete:hover {
    background: #dc2626;
}
