/* ============================================
   BESTELLUNGEN SEITE - ELEGANT & MODERN
   ============================================ */

.bestellungen-page {
    background: #f8fafc;
}

.bestellungen-container {
    padding: 4rem 0;
}

/* ============================================
   EMPTY STATE
   ============================================ */

.bestellungen-empty {
    background: #ffffff;
    border: 2px dashed rgba(0, 0, 0, 0.12);
    border-radius: 16px;
    padding: 4rem 2rem;
    text-align: center;
}

.bestellungen-empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    background: rgba(0, 150, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #0096ff;
}

.bestellungen-empty-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.75rem 0;
}

.bestellungen-empty-text {
    font-size: 1rem;
    color: #718096;
    max-width: 500px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

.bestellungen-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: #0096ff;
    color: #ffffff;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 150, 255, 0.25);
}

.bestellungen-empty-btn:hover {
    background: #0077cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 150, 255, 0.35);
    color: #ffffff;
}

/* ============================================
   ORDER LIST
   ============================================ */

.bestellungen-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* ============================================
   ORDER CARD
   ============================================ */

.bestellung-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    overflow: hidden;
}

/* Header */
.bestellung-header {
    background: linear-gradient(135deg, rgba(0, 150, 255, 0.05) 0%, rgba(0, 150, 255, 0.02) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    padding: 1.5rem;
}

.bestellung-header-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.bestellung-header-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.bestellung-header-label {
    font-size: 0.813rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #718096;
}

.bestellung-header-value {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
}

.bestellung-header-value--price {
    color: #0096ff;
    font-size: 1.125rem;
}

/* Body */
.bestellung-body {
    padding: 1.5rem;
}

.bestellung-content {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

/* Product */
.bestellung-product {
    display: flex;
    gap: 1.25rem;
}

.bestellung-product-image {
    width: 120px;
    height: 180px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.bestellung-product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bestellung-product-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bestellung-product-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0;
}

.bestellung-product-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.bestellung-product-detail {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.938rem;
    color: #718096;
}

.bestellung-product-detail i {
    width: 16px;
    color: #0096ff;
}

/* Shipping */
.bestellung-shipping {
    min-width: 220px;
}

.bestellung-shipping-title {
    font-size: 0.938rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 0.75rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bestellung-shipping-title i {
    color: #0096ff;
}

.bestellung-shipping-address {
    font-size: 0.938rem;
    color: #4a5568;
    line-height: 1.6;
}

.bestellung-shipping-address p {
    margin: 0;
}

/* Actions */
.bestellung-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.bestellung-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-size: 0.938rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.bestellung-action-btn--details {
    background: #ffffff;
    color: #4a5568;
    border: 1px solid rgba(0, 0, 0, 0.12);
}

.bestellung-action-btn--details:hover {
    background: #f8fafc;
    border-color: #0096ff;
    color: #0096ff;
}

.bestellung-action-btn--tracking {
    background: #0096ff;
    color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 150, 255, 0.25);
}

.bestellung-action-btn--tracking:hover {
    background: #0077cc;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 150, 255, 0.35);
    color: #ffffff;
}

.bestellung-action-btn--disabled {
    background: #f1f5f9;
    color: #94a3b8;
    cursor: not-allowed;
}

.bestellung-tracking-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.75rem;
    background: rgba(0, 150, 255, 0.05);
    border-radius: 6px;
    font-size: 0.813rem;
    color: #4a5568;
}

.bestellung-tracking-info i {
    color: #0096ff;
}

/* ============================================
   DETAILS SECTION
   ============================================ */

.bestellung-details {
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.bestellung-details-content {
    padding: 1.5rem;
    background: #f8fafc;
}

.bestellung-details-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1a202c;
    margin: 0 0 1.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.875rem;
}

.bestellung-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.bestellung-detail-item {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.bestellung-detail-item--full {
    grid-column: 1 / -1;
}

.bestellung-detail-label {
    font-size: 0.813rem;
    font-weight: 600;
    color: #718096;
}

.bestellung-detail-value {
    font-size: 0.938rem;
    color: #1a202c;
    word-break: break-word;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 991.98px) {
    .bestellungen-container {
        padding: 3rem 0;
    }

    .bestellung-content {
        grid-template-columns: 1fr;
    }

    .bestellung-shipping {
        min-width: auto;
    }
}

@media (max-width: 767.98px) {
    .bestellungen-container {
        padding: 2rem 0;
    }

    .bestellungen-empty {
        padding: 3rem 1.5rem;
    }

    .bestellungen-empty-icon {
        width: 80px;
        height: 80px;
        font-size: 2.5rem;
    }

    .bestellungen-empty-title {
        font-size: 1.25rem;
    }

    .bestellung-header {
        padding: 1.25rem;
    }

    .bestellung-header-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .bestellung-body {
        padding: 1.25rem;
    }

    .bestellung-product {
        flex-direction: column;
    }

    .bestellung-product-image {
        width: 100%;
        height: 200px;
    }

    .bestellung-details-content {
        padding: 1.25rem;
    }

    .bestellung-details-grid {
        grid-template-columns: 1fr;
    }

    .bestellung-detail-item--full {
        grid-column: 1;
    }
}

@media (max-width: 575.98px) {
    .bestellung-header {
        padding: 1rem;
    }

    .bestellung-body {
        padding: 1rem;
    }

    .bestellung-product-image {
        width: 100%;
        height: 160px;
    }

    .bestellung-product-title {
        font-size: 1rem;
    }

    .bestellung-action-btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .bestellung-details-content {
        padding: 1rem;
    }
}