/**
 * Event Detail Inline Editor Styles
 */

/* Edit Button */
.btn-event-edit {
    position: fixed;
    top: 80px;
    right: 20px;
    background: linear-gradient(135deg, #dc0000, #990000);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(220,0,0,0.3);
}

.btn-event-cancel {
    position: fixed;
    top: 140px;
    right: 20px;
    background: linear-gradient(135deg, #666, #444);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

.btn-event-save {
    position: fixed;
    top: 80px;
    left: 20px;
    background: linear-gradient(135deg, #00aa00, #007700);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1000;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0,170,0,0.3);
}

.btn-event-edit:hover,
.btn-event-cancel:hover,
.btn-event-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(220,0,0,0.4);
}

.btn-event-save:hover {
    box-shadow: 0 6px 16px rgba(0,170,0,0.4);
}

.btn-event-cancel:hover {
    box-shadow: 0 6px 16px rgba(0,0,0,0.4);
}

/* Editable Fields */
[contenteditable="true"] {
    transition: outline 0.2s ease, background 0.2s ease;
    cursor: text;
}

[contenteditable="true"]:hover {
    background: rgba(255,255,255,0.05) !important;
}

[contenteditable="true"]:focus {
    outline: 2px solid rgba(220, 0, 0, 0.5) !important;
    background: rgba(255,255,255,0.08) !important;
}

/* Meta Inputs */
.event-detail-meta input,
.event-detail-meta select {
    font-family: 'Roboto', sans-serif;
}

.event-detail-meta input:focus,
.event-detail-meta select:focus {
    outline: 2px solid rgba(220, 0, 0, 0.5);
    background: rgba(255,255,255,0.15) !important;
}

/* Band Edit List */
.band-edit-item {
    animation: slideIn 0.3s ease;
}

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

.band-edit-item input:focus {
    outline: 2px solid rgba(220, 0, 0, 0.5);
    background: rgba(255,255,255,0.15) !important;
}

.band-edit-item button:hover {
    background: #ff0000 !important;
    transform: scale(1.05);
}

/* Flyer Upload Button */
.btn-flyer-upload {
    transition: all 0.2s ease;
}

.btn-flyer-upload:hover {
    background: rgba(0,0,0,0.9) !important;
    transform: scale(1.05);
}

/* Loading States */
.btn-event-edit:disabled,
.btn-event-cancel:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .btn-event-edit,
    .btn-event-cancel {
        top: 60px !important;
        right: 10px !important;
        padding: 10px 18px !important;
        font-size: 13px !important;
    }
    
    .btn-event-cancel {
        top: 110px !important;
    }
    
    .event-detail-meta {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
    
    .event-detail-meta-item {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .event-detail-meta input,
    .event-detail-meta select {
        width: 100% !important;
        max-width: none !important;
    }
}
