/* =========================================
   GLOBAL WRAPPER
   ========================================= */
.page-content {
    margin-top: 100px; /* Höhe deines Headers */
}

.price-cart-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 8px;
}

.price-box {
    font-size: 0.9rem;
    color: #667085;
}

.cart-form button {
    background: transparent;
    color: #0f0f0f;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
}

.cart-form button:hover {
    opacity: 0.85;
    box-shadow: 0 4px 14px rgba(50, 50, 50, 0.18);
}

.ticket-details-section {
    display: flex;
    justify-content: center;
    padding: 20px;
}

.ticket-container {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    max-width: 1100px;
    width: 100%;
    justify-content: center;
}

/* =========================================
   CARD BASE
   ========================================= */

.ticket-card {
    width: 100%;
    max-width: 360px;
    border-radius: 5px;
    padding: 10px;
    transition: 0.25s ease;
    cursor: pointer;
    background-color: #ffffff;
    border: 1px solid #d0d5dd;
    box-shadow: 0 2px 6px rgba(0,0,0,0.06);
    color: #222;
}


/* Hover */
.ticket-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 14px rgba(0,0,0,0.12);
}

/* Header */
.ticket-header {
    background: transparent;
    color: #1a1a1a;
    border-radius: 5px;
    padding: 6px;
    margin-top: 6px;
    text-align: center; /* <- wichtig */
}
.ticket-header::before,
.ticket-header:after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #555, transparent);
}

/* Header Text – EXPLIZIT zentriert */
.ticket-header h2 {
    font-size: 1rem;
    margin: 0;
    text-align: center; /* <- garantiert */
    color: #1a1a1a;
}

/* Body */
.ticket-body {
    font-size: 0.85rem;
    line-height: 1.35rem;
    color: #667085;
    text-align: center;
}

/* Footer */
.ticket-footer a,
.ticket-footer button {
    color: #667085;
    font-weight: 600;
}

/* =========================================
   DARK MODE (CreateRaffle Style)
   ========================================= */

.dark .ticket-card {
    background: #1c1c1c;
    border: 1px solid #2a2a2a;
    box-shadow: 0 2px 10px rgba(0,0,0,0.35);
    color: #bbbbbb
}

.dark .ticket-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 14px rgba(50, 50, 50, 0.18);
}

/* Header */
.dark .ticket-header {
    background: #2a2a2a;
    color:#bbbbbb;
    border-radius: 5px;
    padding: 6px;
    text-align: center;
    margin-bottom: 10px;
}

.dark .ticket-header h2 {
    font-size: 1rem;
    margin: 0;
    color: #bbbbbb;
}

/* Body */
.dark .ticket-body {
    font-size: 0.85rem;
    line-height: 1.35rem;
    color: #bbbbbb;
}

/* Footer */
.dark .ticket-footer a,
.dark .ticket-footer button {
    color: #2ecc71;
    font-weight: 600;
}
.dark .cart-form button {
    background: #2a2a2a;
    color: #667085;
    border: none;
    padding: 6px 12px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 0.8rem;
    font-weight: 600;
}

.dark .cart-form button:hover {
    opacity: 0.85;
    box-shadow: 0 4px 14px rgba(50, 50, 50, 0.18);
}

.dark .ticket-header::before,
.dark .ticket-header:after {
    content: "";
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, transparent, #FFB000, transparent);
}

/* =========================================
   BUTTONS
   ========================================= */

.ticket-footer button {
    background: transparent;
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
}

.ticket-footer button:hover {
    opacity: 0.8;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 700px) {
    .ticket-card {
        max-width: 100%;
        padding: 14px;
    }

    .ticket-header h2 {
        font-size: 0.95rem;
    }

    .ticket-body {
        font-size: 0.8rem;
    }
}
