/* ==========================================
   EVENT INFORMATION STEP
   Matching MenuInventoryStep Style
   ========================================== */

/* ====== CONTAINER ====== */
.einfo-container {
    margin: 0 auto;
    padding: 1rem;
}

/* ====== HEADER ====== */
.einfo-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e5e7eb;
}

.einfo-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.625rem;
}

.einfo-header-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0;
}

/* ====== FORM SECTION ====== */
.einfo-form-section {
    background: white;
    border-radius: 0.625rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.25rem;
    border: 1px solid #e5e7eb;
}

.einfo-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.einfo-form-group {
    margin-bottom: 1rem;
}

.einfo-form-group.einfo-span-2 {
    grid-column: span 2;
}

.einfo-label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #374151;
    display: block;
    margin-bottom: 0.375rem;
}

.einfo-required {
    color: #dc2626;
    font-weight: 700;
}

.einfo-input,
.einfo-select,
.einfo-textarea {
    width: 100%;
    padding: 0.625rem 0.75rem;
    border: 1px solid #d1d5db;
    border-radius: 0.375rem;
    font-size: 0.875rem;
    color: #111827;
    background: white;
    transition: all 0.2s;
}

.einfo-select:focus,
.einfo-input:focus,
.einfo-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.einfo-input.einfo-readonly,
.einfo-readonly {
    background: #f9fafb;
    cursor: not-allowed;
}

.einfo-textarea {
    resize: vertical;
    min-height: 100px;
}

.einfo-select {
    cursor: pointer;
}

.einfo-hint {
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
    display: block;
}

.einfo-validation-error {
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* ====== SECTION CARD ====== */
.einfo-section-card {
    background: white;
    border-radius: 0.625rem;
    padding: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    margin-bottom: 1.25rem;
    border: 1px solid #e5e7eb;
}

.einfo-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #e5e7eb;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.einfo-section-description {
    font-size: 0.875rem;
    color: #6b7280;
    margin-bottom: 1rem;
}

/* ====== INFO BOX ====== */
.einfo-info-box {
    padding: 0.75rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    margin-top: 0.75rem;
}

.einfo-info-text {
    font-size: 0.875rem;
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

.einfo-info-text.einfo-muted {
    color: #6b7280;
    font-style: italic;
}

/* ====== EVENT TYPE DETAILS ====== */
.einfo-event-type-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.einfo-detail-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem;
    background: #dbeafe;
    border: 1px solid #3b82f6;
    border-radius: 0.5rem;
}

.einfo-detail-icon {
    font-size: 1.5rem;
    color: #3b82f6;
    flex-shrink: 0;
}

.einfo-detail-content {
    flex: 1;
}

.einfo-detail-name {
    display: block;
    font-size: 1rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 0.25rem;
}

.einfo-detail-desc {
    font-size: 0.875rem;
    color: #374151;
    margin: 0;
    line-height: 1.5;
}

.einfo-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.einfo-detail {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    padding: 0.75rem;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
}

.einfo-detail-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.einfo-detail-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

/* ====== SUMMARY CARD ====== */
.einfo-summary-card {
    background: #fef3c7;
    border: 2px solid #f59e0b;
    border-radius: 0.625rem;
    padding: 1.25rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 1.25rem;
}

.einfo-summary-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #111827;
    margin: 0 0 1rem 0;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #fbbf24;
}

.einfo-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 0.75rem;
}

.einfo-summary-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.einfo-summary-label {
    font-size: 0.6875rem;
    font-weight: 600;
    color: #78350f;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.einfo-summary-value {
    font-size: 0.875rem;
    font-weight: 600;
    color: #111827;
}

/* ====== BOOKING SLOTS ====== */
.einfo-booking-slots-section {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.625rem;
    padding: 1.25rem;
    margin-bottom: 1.25rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.einfo-slots-header {
    margin-bottom: 1rem;
}

.einfo-slots-subtitle {
    font-size: 0.875rem;
    color: #6b7280;
    margin: 0.5rem 0 0 0;
}

.einfo-slots-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 2rem;
    color: #6b7280;
}

.einfo-slot-category {
    margin-bottom: 1.5rem;
}

.einfo-slot-category:last-child {
    margin-bottom: 0;
}

.einfo-slot-category-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #374151;
    margin: 0 0 0.75rem 0;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.einfo-slots-row {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 0.75rem;
}

.einfo-slots-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.einfo-slot-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.2s;
    text-align: left;
    font-family: inherit;
    width: 100%;
    position: relative;
}

.einfo-slot-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #10b981;
    opacity: 0;
    transition: opacity 0.2s;
}

.einfo-slot-btn:hover:not(.einfo-slot-booked):not(.einfo-slot-disabled) {
    border-color: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.einfo-slot-btn:active:not(.einfo-slot-booked):not(.einfo-slot-disabled) {
    transform: translateY(0);
}

/* Available State */
.einfo-slot-btn {
    background: #f0fdf4;
    border-color: #d1fae5;
}

.einfo-slot-btn:hover:not(.einfo-slot-booked):not(.einfo-slot-disabled) {
    background: #dcfce7;
    border-color: #10b981;
}

/* Selected State */
.einfo-slot-btn.einfo-slot-selected {
    background: #dbeafe;
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.einfo-slot-btn.einfo-slot-selected::before {
    opacity: 1;
    background: #3b82f6;
}

.einfo-slot-btn.einfo-slot-selected:hover {
    background: #bfdbfe;
    border-color: #2563eb;
}

/* Booked State */
.einfo-slot-btn.einfo-slot-booked {
    background: #fee2e2;
    border-color: #fecaca;
    cursor: not-allowed;
    opacity: 0.7;
}

.einfo-slot-btn.einfo-slot-booked::before {
    opacity: 1;
    background: #ef4444;
}

/* Disabled State */
.einfo-slot-btn.einfo-slot-disabled {
    background: #f9fafb;
    border-color: #e5e7eb;
    cursor: not-allowed;
    opacity: 0.5;
}

.einfo-slot-btn.einfo-slot-full {
    min-width: 100%;
}

.einfo-slot-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all 0.2s;
}

/* Icon colors */
.einfo-slot-btn .einfo-slot-icon {
    background: #d1fae5;
    color: #10b981;
}

.einfo-slot-btn.einfo-slot-selected .einfo-slot-icon {
    background: #bfdbfe;
    color: #3b82f6;
}

.einfo-slot-btn.einfo-slot-booked .einfo-slot-icon {
    background: #fecaca;
    color: #ef4444;
}

.einfo-slot-btn.einfo-slot-disabled .einfo-slot-icon {
    background: #e5e7eb;
    color: #9ca3af;
}

.einfo-slot-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.einfo-slot-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #111827;
    line-height: 1.2;
}

.einfo-slot-btn.einfo-slot-disabled .einfo-slot-name {
    color: #6b7280;
}

.einfo-slot-time {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
}

.einfo-slot-btn.einfo-slot-disabled .einfo-slot-time {
    color: #9ca3af;
}

.einfo-slot-status {
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.einfo-slot-status.einfo-status-available {
    color: #10b981;
}

.einfo-slot-status.einfo-status-booked {
    color: #ef4444;
}

.einfo-slot-status.einfo-status-unavailable {
    color: #9ca3af;
}

.einfo-slot-includes {
    font-size: 0.6875rem;
    color: #6b7280;
    font-style: italic;
    margin-top: 0.25rem;
}

.einfo-slot-event-name {
    font-size: 0.6875rem;
    color: #374151;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.einfo-slot-expiry-warning {
    font-size: 0.6875rem;
    color: #f59e0b;
    font-weight: 600;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    animation: pulse-warning 2s infinite;
}

@keyframes pulse-warning {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

/* Slot Confirmation */
.einfo-slot-confirmation {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: #d1fae5;
    border: 1px solid #10b981;
    border-radius: 0.5rem;
    margin-top: 1rem;
}

.einfo-slot-confirmation i {
    font-size: 1.25rem;
    color: #10b981;
}

.einfo-slot-confirmation span {
    font-size: 0.875rem;
    color: #065f46;
    font-weight: 500;
}

.einfo-slot-confirmation strong {
    color: #047857;
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
    .einfo-container {
        padding: 0.75rem;
    }

    .einfo-form-grid {
        grid-template-columns: 1fr;
    }

    .einfo-form-group.einfo-span-2 {
        grid-column: span 1;
    }

    .einfo-details-grid {
        grid-template-columns: 1fr;
    }

    .einfo-summary-grid {
        grid-template-columns: 1fr;
    }

    .einfo-slots-row {
        grid-template-columns: 1fr;
    }

    .einfo-slot-btn {
        padding: 0.75rem;
    }

    .einfo-slot-icon {
        width: 36px;
        height: 36px;
        font-size: 1.125rem;
    }
}
