﻿/* Kundeninformationen Styles */
.customer-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.customer-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(184, 134, 11, 0.2);
    border-radius: 8px;
    transition: all 0.2s ease;
}

    .customer-info-item:hover {
        background: rgba(255, 255, 255, 0.04);
        border-color: rgba(184, 134, 11, 0.3);
    }

.customer-info-item-full {
    grid-column: 1 / -1;
}

.customer-info-icon {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(184, 134, 11, 0.1);
    border-radius: 8px;
    color: var(--color-copper, #b8860b);
}

    .customer-info-icon svg {
        width: 20px;
        height: 20px;
    }

.customer-info-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.customer-info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 600;
}

.customer-info-value {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    line-height: 1.5;
}

/* Responsive Anpassungen */
@media (max-width: 768px) {
    .customer-info-grid {
        grid-template-columns: 1fr;
    }

    .customer-info-item {
        padding: 0.875rem;
    }
}

/* Einheitlicher Checkout Container */
.unified-checkout-container {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    margin-bottom: 2rem;
    overflow: hidden;
}

/* Checkout Sektionen */
.checkout-section {
    border-bottom: 1px solid var(--color-border);
}

    .checkout-section:last-child {
        border-bottom: none;
    }

.checkout-section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
}

.checkout-section-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0;
}

.section-icon {
    width: 20px;
    height: 20px;
    color: var(--color-copper);
}

.edit-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    color: #b59a93;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

    .edit-btn:hover {
        background: rgba(255, 255, 255, 0.05);
        border-color: var(--color-copper);
        color: var(--color-copper);
    }

    .edit-btn svg {
        width: 14px;
        height: 14px;
    }

.checkout-section-content {
    padding: 1.5rem;
}

/* Info Rows */
.info-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

    .info-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .info-row:first-child {
        padding-top: 0;
    }

.info-label {
    color: var(--color-text-muted);
    font-size: 0.875rem;
    min-width: 100px;
}

.info-value {
    color: var(--color-text);
    font-weight: 500;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.inline-icon {
    width: 16px;
    height: 16px;
    color: var(--color-copper);
}

/* Ticket Items */
.ticket-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--color-border);
    border-radius: 6px;
    margin-bottom: 1rem;
}

    .ticket-item:last-child {
        margin-bottom: 0;
    }

.ticket-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
    text-align: start;
}

.ticket-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text);
    margin: 0 0 0.5rem 0;
}

.ticket-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.ticket-meta-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.meta-icon {
    width: 14px;
    height: 14px;
    color: var(--color-copper);
}

.ticket-price {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--color-copper);
}

/* Ticket Quantity Section */
.ticket-quantity-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.ticket-quantity-section-wo-border {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.quantity-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.quantity-label {
    font-size: 0.875rem;
    color: var(--color-text-muted);
}

.quantity-controls {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    border: 1px solid var(--color-border);
}

.quantity-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    color: var(--color-copper);
    cursor: pointer;
    transition: all 0.2s;
    padding: 0;
}

    .quantity-btn:hover:not(:disabled) {
        color: var(--color-copper-light);
        transform: scale(1.1);
    }

    .quantity-btn:disabled {
        opacity: 0.3;
        cursor: not-allowed;
    }

    .quantity-btn svg {
        width: 16px;
        height: 16px;
    }

.quantity-display {
    min-width: 32px;
    text-align: center;
    font-weight: 600;
    color: var(--color-text);
}

.unit-price {
    font-size: 0.5rem;
    color: var(--color-text-muted);
}

/* Price Summary */
.price-summary .checkout-section-content {
    background: rgba(184, 115, 51, 0.05);
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    /*border-bottom: 1px solid rgba(255, 255, 255, 0.05);*/
}

    .price-row:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .price-row:first-child {
        padding-top: 0;
    }

    .price-row.total {
        padding-top: 1rem;
        margin-top: 0.5rem;
        border-top: 2px solid var(--color-copper);
        font-size: 1.125rem;
    }

.price-label {
    color: var(--color-text-muted);
    font-weight: 500;
}

.price-row.total .price-label {
    color: var(--color-text);
    font-weight: 700;
}

.price-value {
    color: var(--color-text);
    font-weight: 600;
}

.price-row.total .price-value {
    color: var(--color-copper);
    font-size: 1.5rem;
    font-weight: 700;
}

/* Booking Actions */
.booking-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

/* Responsive */
@media (max-width: 768px) {
    .checkout-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .ticket-item-header {
        flex-direction: column;
        gap: 0.75rem;
    }

    .ticket-price {
        align-self: flex-start;
    }

    .ticket-quantity-section {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .info-row {
        flex-direction: column;
        gap: 0.25rem;
    }

    .info-value {
        text-align: left;
    }
}
