/**
 * Event Meta Box 
 * 
 */

 .event-meta-box {
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    padding: 32px;
    max-width: 800px;
}

/* Header Styles */
.event-meta-header {
    margin-bottom: 32px;
}

.event-meta-title {
    font-size: 20px;
    font-weight: 600;
    color: #1e1e1e;
    margin: 0 0 8px 0;
}

.event-meta-subtitle {
    color: #646970;
    font-size: 14px;
    margin: 0;
}

/* Content Container */
.event-meta-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Sektions-Titel */
.event-meta-section-title {
    font-size: 15px;
    font-weight: 500;
    color: #1e1e1e;
    margin: 0 0 16px 0;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f1;
}

/* Grid für Datumsfelder */
.event-meta-date-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

/* Feld-Container */
.event-meta-field {
    margin-bottom: 8px;
}

/* Labels */
.event-meta-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: #1e1e1e;
    margin-bottom: 8px;
}


.event-meta-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

/* Input Styling */
.event-meta-input {
    width: 100%;
    padding: 8px 12px;
    padding-right: 40px;
    font-size: 14px;
    line-height: 1.5;
    color: #2c3338;
    background-color: #fff;
    border: 1px solid #d0d5dd;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.event-meta-input:hover {
    border-color: #a8aeb5;
}

.event-meta-input:focus {
    border-color: #2271b1;
    box-shadow: 0 0 0 1px #2271b1;
    outline: none;
}

/* Icons */
.event-meta-calendar-icon,
.event-meta-location-icon {
    position: absolute;
    right: 12px;
    color: #646970;
    pointer-events: none;
    transition: color 0.2s ease;
}

.event-meta-input-wrapper:hover .event-meta-calendar-icon,
.event-meta-input-wrapper:hover .event-meta-location-icon {
    color: #2271b1;
}

/* Fehlermeldungen */
.event-meta-error {
    display: none;
    color: #d63638;
    font-size: 12px;
    margin-top: 6px;
}

.event-meta-input.has-error {
    border-color: #d63638;
}

.event-meta-input.has-error:focus {
    box-shadow: 0 0 0 1px #d63638;
}


@media screen and (max-width: 782px) {
    .event-meta-box {
        padding: 24px;
    }

    .event-meta-content {
        gap: 24px;
    }

    .event-meta-input {
        padding: 10px 12px; 
        font-size: 16px;
    }
}