/* ticket-specific.scss */

/* Specyficzne style dla strony zakupu biletów */

/* Timer rezerwacji biletu */
.ticket-timer {
    background-color: #fffde7;
    border-radius: 4px;
    padding: 8px 12px;
    display: inline-block;
    margin-bottom: 25px;
    font-size: 14px;
    color: #8a6d3b;
}

/* Layout formularza zakupu biletu */
.form-layout {
    display: flex;
    gap: 30px;
}

.form-left {
    flex: 2;
}

.form-right {
    flex: 1;
    background-color: #E1EDF4;
    padding: 20px;
    border-radius: 6px;
}

/* Szczegóły wydarzenia */
.event-details {
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
    margin-bottom: 15px;
}

.event-title {
    font-weight: 600;
    font-size: 18px;
    margin-bottom: 5px;
}

.event-date, .event-location, .event-price {
    font-size: 14px;
    margin-bottom: 5px;
    color: #555;
}

.event-price {
    font-weight: 600;
    color: #333;
}

/* Informacje o prywatności */
.privacy-notice {
    font-size: 12px;
    color: #666;
    margin-top: 15px;
}

/* Metoda płatności */
.payment-method {
    margin-top: 15px;
    text-align: center;
}

.payment-method img {
    height: 30px;
    margin-top: 5px;
}

.payment-method-text {
    font-size: 12px;
    color: #666;
}

/* Przycisk wysyłania formularza */
.submit-btn {
    background-color: #0077c2;
    color: white;
    border: none;
    padding: 14px 20px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
    width: 100%;
    margin-top: 20px;
}

.submit-btn:hover {
    background-color: #005fa3;
}

/* Przycisk logowania z Facebook */
.fb-login-btn {
    background-color: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 10px 16px;
    font-size: 14px;
    color: #4267B2;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    transition: border-color 0.3s, background-color 0.3s;
    width: auto;
    max-width: 195px;
    text-decoration: none;
}

.fb-login-btn:hover {
    border-color: #4267B2;
    background-color: #f8f9fa;
}

.fb-login-btn .fab {
    font-size: 16px;
}

.success-icon i {
    font-size: 80px;
    color: #28a745;
}

.success-message {
    background-color: #e8f5e9;
    border: 1px solid #c8e6c9;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
    color: #2e7d32;
}

.event-summary {
    background-color: #f8f9fa;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
    text-align: left;
}

.action-buttons {
    margin-top: 30px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-event-details {
    background-color: #0077c2;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    transition: background-color 0.3s;
}

.btn-event-details:hover {
    background-color: #005fa3;
    color: white;
    text-decoration: none;
}

.btn-my-events {
    background-color: #f5f5f5;
    color: #333;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    border: 1px solid #ddd;
    transition: background-color 0.3s;
}

.btn-my-events:hover {
    background-color: #e0e0e0;
    color: #333;
    text-decoration: none;
}

.payment-info {
    background-color: #fff3cd;
    border: 1px solid #ffeaa7;
    border-radius: 6px;
    padding: 15px;
    margin: 20px 0;
    color: #856404;
}


/* Media queries dla formularza biletów */
@media (max-width: 768px) {
    .form-layout {
        flex-direction: column;
    }
    
    .form-left {
        order: 1; /* Lewa kolumna pierwsza na mobile */
    }
    
    .form-right {
        order: 2; /* Prawa kolumna druga na mobile */
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-event-details,
    .btn-my-events {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}