/* Ticket Selection Cards - 2x2 Grid */
.ticket-selection {
        padding: 40px 20px;
        max-width: 1000px;
        margin: 0 auto;
}

.ticket-selection h2 {
        text-align: center;
        color: #d4af37;
        font-family: 'Montserrat', sans-serif;
        font-size: 2rem;
        margin-bottom: 10px;
}

.ticket-selection > p {
        text-align: center;
        color: #a0a0a0;
        margin-bottom: 30px;
}

.ticket-cards {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        max-width: 900px;
        margin: 0 auto;
}

@media (max-width: 700px) {
        .ticket-cards {
                grid-template-columns: 1fr;
        }
}

.ticket-card {
        background: rgba(255, 255, 255, 0.05);
        border: 2px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 20px;
        position: relative;
        transition: all 0.3s ease;
        cursor: pointer;
}

.ticket-card:hover {
        border-color: rgba(212, 175, 55, 0.5);
        transform: translateY(-3px);
}

.ticket-card.selected {
        border-color: #d4af37;
        background: rgba(212, 175, 55, 0.1);
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.ticket-badge {
        position: absolute;
        top: -10px;
        right: 20px;
        padding: 4px 12px;
        border-radius: 15px;
        font-size: 0.7rem;
        font-weight: 600;
        text-transform: uppercase;
}

.badge-popular {
        background: #d4af37;
        color: #1a1a2e;
}

.badge-vip {
        background: #f5c518;
        color: #1a1a2e;
}

.ticket-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        padding-top: 5px;
}

.ticket-card h3 {
        color: white;
        font-family: 'Montserrat', sans-serif;
        font-size: 1.1rem;
        margin: 0;
}

.ticket-price {
        color: #d4af37;
        font-size: 1.3rem;
        font-weight: 700;
}

.ticket-features {
        list-style: none;
        padding: 0;
        margin: 0;
}

.ticket-features li {
        color: #ccc;
        padding: 5px 0;
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 0.85rem;
}

.ticket-features li i {
        color: #d4af37;
        margin-top: 2px;
        font-size: 0.75rem;
}

/* Page Header */
.page-header {
        text-align: center;
        padding: 30px 20px 20px;
}

.page-header h1 {
        color: #d4af37;
        font-family: 'Montserrat', sans-serif;
        font-size: 2rem;
        margin-bottom: 10px;
}

.page-header p {
        color: #a0a0a0;
}

/* Form Container */
.booking-container {
        display: grid;
        grid-template-columns: 1fr 350px;
        gap: 30px;
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
}

@media (max-width: 900px) {
        .booking-container {
                grid-template-columns: 1fr;
        }
        .sidebar {
                order: -1;
        }
}

.main-content {
        display: flex;
        flex-direction: column;
        gap: 20px;
}

.form-card {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        padding: 25px;
        border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-card h3 {
        color: white;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
}

.form-card h3 i {
        color: #d4af37;
}

/* Contacts section */
.contacts-layout {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 20px;
}

.contacts-hint {
        grid-column: 1 / -1;
        color: #a0a0a0;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        padding: 12px 15px;
        background: rgba(212, 175, 55, 0.1);
        border-radius: 8px;
        border-left: 3px solid #d4af37;
        margin-bottom: 10px;
}

.contacts-hint i {
        margin-right: 10px;
        color: #d4af37;
}

.contacts-warning {
        margin-top: 15px;
        color: #a0a0a0;
        font-size: 0.9rem;
        display: flex;
        align-items: center;
        padding: 12px 15px;
        background: rgba(212, 175, 55, 0.1);
        border-radius: 8px;
        border-left: 3px solid #d4af37;
}

.contacts-warning i {
        margin-right: 10px;
        color: #d4af37;
}

@media (max-width: 600px) {
        .contacts-layout {
                grid-template-columns: 1fr;
        }
}

.form-group {
        margin-bottom: 15px;
}

.form-group label {
        display: block;
        color: #d4af37;
        font-size: 0.8rem;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 1px;
}

.form-group input {
        width: 100%;
        padding: 14px 16px;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        color: white;
        font-size: 1rem;
        transition: border-color 0.3s;
}

.form-group input:focus {
        outline: none;
        border-color: #d4af37;
}

.form-group input::placeholder {
        color: #666;
}

.name-input {
        text-transform: uppercase;
}

/* Attendee Cards */
.attendee-card {
        position: relative;
}

.attendee-header {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 20px;
        gap: 20px;
}

.attendee-header-left {
        flex: 1;
}

.attendee-header-left h3 {
        margin-bottom: 5px;
}

.attendee-header-left .subtitle {
        color: #888;
        font-size: 0.85rem;
}

.attendee-header-right {
        flex-shrink: 0;
}

.name-fields-row {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 15px;
}

@media (max-width: 600px) {
        .name-fields-row {
                grid-template-columns: 1fr;
        }
}

.remove-attendee-btn {
        background: rgba(231, 76, 60, 0.2);
        color: #e74c3c;
        border: 1px solid rgba(231, 76, 60, 0.3);
        padding: 8px 15px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.85rem;
        transition: all 0.3s;
        display: flex;
        align-items: center;
        gap: 6px;
}

.remove-attendee-btn:hover {
        background: rgba(231, 76, 60, 0.3);
        border-color: #e74c3c;
}

/* Добавить участника Button */
.add-attendee-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 15px;
        background: transparent;
        border: 2px dashed rgba(212, 175, 55, 0.4);
        border-radius: 12px;
        color: #d4af37;
        font-size: 1rem;
        cursor: pointer;
        transition: all 0.3s;
}

.add-attendee-btn:hover {
        border-color: #d4af37;
        background: rgba(212, 175, 55, 0.1);
}

/* Sidebar */
.sidebar {
        position: sticky;
        top: 20px;
        height: fit-content;
}

.progress-steps {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        margin-bottom: 20px;
}

.step {
        padding: 8px 16px;
        border-radius: 20px;
        font-size: 0.85rem;
        font-weight: 600;
}

.step.active {
        background: #d4af37;
        color: #1a1a2e;
}

.step.inactive {
        background: rgba(255, 255, 255, 0.1);
        color: #666;
}

.step.completed {
        background: rgba(39, 174, 96, 0.3);
        color: #27ae60;
}

.step-divider {
        width: 30px;
        height: 2px;
        background: rgba(255, 255, 255, 0.2);
}

.booking-info-card {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 16px;
        padding: 25px;
        border: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-info-card h4 {
        color: white;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        gap: 10px;
}

.booking-info-card h4 i {
        color: #d4af37;
}

.booking-placeholder {
        text-align: center;
        color: #666;
        padding: 30px 20px;
}

.booking-details {
        display: none;
}

.booking-details.visible {
        display: block;
}

.booking-row {
        display: flex;
        justify-content: space-between;
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.booking-row:last-child {
        border-bottom: none;
}

.booking-label {
        color: #888;
}

.booking-value {
        color: white;
        font-weight: 500;
}

.booking-total {
        margin-top: 10px;
        padding-top: 15px;
        border-top: 2px solid #d4af37;
}

.booking-total .booking-value {
        color: #d4af37;
        font-size: 1.2rem;
        font-weight: 700;
}

.attendees-list {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.attendees-list h5 {
        color: #a0a0a0;
        font-size: 0.85rem;
        margin-bottom: 10px;
}

.attendee-name {
        color: white;
        padding: 6px 0;
        font-size: 0.9rem;
}

.attendee-name.empty {
        color: #666;
        font-style: italic;
}

/* Продолжить button */
.continue-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        width: 100%;
        margin-top: 20px;
        padding: 16px 20px;
        background: #d4af37;
        color: #1a1a2e;
        border: none;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 1rem;
        letter-spacing: 2px;
        cursor: pointer;
        transition: all 0.3s;
        text-transform: uppercase;
}

.continue-btn:hover {
        background: #f0c850;
        box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.continue-btn:disabled {
        background: #444;
        color: #888;
        cursor: not-allowed;
        box-shadow: none;
}

/* Step 2 - Payment Selection */
.step-section {
        display: none;
}

.step-section.active {
        display: block;
}

.payment-methods {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
        margin: 30px 0;
}

.payment-method {
        background: rgba(255, 255, 255, 0.05);
        border: 2px solid rgba(255, 255, 255, 0.1);
        border-radius: 12px;
        padding: 20px;
        cursor: pointer;
        transition: all 0.3s;
        text-align: center;
}

.payment-method:hover {
        border-color: rgba(212, 175, 55, 0.5);
}

.payment-method.selected {
        border-color: #d4af37;
        background: rgba(212, 175, 55, 0.1);
}

.payment-method h4 {
        color: white;
        margin-bottom: 5px;
        font-size: 1rem;
}

.payment-method p {
        color: #888;
        font-size: 0.8rem;
        margin: 0;
}

/* Детали оплаты */
.payment-details-section {
        display: none;
        text-align: center;
        padding: 30px 20px;
}

.payment-details-section.active {
        display: block;
}

.qr-code {
        background: white;
        padding: 20px;
        border-radius: 12px;
        display: inline-block;
        margin: 20px 0;
}

.qr-code img {
        width: 200px;
        height: 200px;
}

.wallet-address {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 8px;
        padding: 15px;
        margin: 20px 0;
        word-break: break-all;
        color: #d4af37;
        font-family: monospace;
        font-size: 0.9rem;
        cursor: pointer;
        transition: all 0.3s ease;
        position: relative;
}

.wallet-address:hover {
        background: rgba(212, 175, 55, 0.1);
        border-color: #d4af37;
}

.wallet-address.copied {
        background: rgba(39, 174, 96, 0.2);
        border-color: #27ae60;
}

.wallet-address .copy-hint {
        display: block;
        font-size: 0.75rem;
        color: #888;
        margin-top: 8px;
        font-family: 'Montserrat', sans-serif;
}

.wallet-address .copy-hint i {
        margin-right: 5px;
}

.wallet-address .copied-text {
        display: none;
        color: #27ae60;
}

.wallet-address.copied .copy-hint .default-text {
        display: none;
}

.wallet-address.copied .copy-hint .copied-text {
        display: inline;
}

.copy-btn {
        background: rgba(212, 175, 55, 0.2);
        border: 1px solid #d4af37;
        color: #d4af37;
        padding: 10px 20px;
        border-radius: 6px;
        cursor: pointer;
        transition: all 0.3s;
        margin-top: 10px;
}

.copy-btn:hover {
        background: #d4af37;
        color: #1a1a2e;
}

/* Secondary button style */
.secondary-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 12px 24px;
        background: transparent;
        border: 2px solid rgba(212, 175, 55, 0.5);
        color: #d4af37;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 0.9rem;
        letter-spacing: 1px;
        cursor: pointer;
        transition: all 0.3s;
        text-transform: uppercase;
        border-radius: 8px;
}

.secondary-btn:hover {
        border-color: #d4af37;
        background: rgba(212, 175, 55, 0.1);
}

.navigation-buttons {
        display: flex;
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
        margin-top: 20px;
}

.edit-booking-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 15px;
        flex-wrap: wrap;
        gap: 10px;
}

.edit-booking-header h3 {
        margin-bottom: 0;
}

.amount-display {
        font-size: 2rem;
        color: #d4af37;
        font-weight: 700;
        margin: 20px 0;
}

.payment-note {
        color: #888;
        font-size: 0.9rem;
        margin: 15px 0;
}

.i-paid-btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 10px;
        padding: 18px 40px;
        background: #27ae60;
        color: white;
        border: none;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 1.1rem;
        letter-spacing: 2px;
        cursor: pointer;
        transition: all 0.3s;
        text-transform: uppercase;
        border-radius: 8px;
        margin-top: 20px;
}

.i-paid-btn:hover {
        background: #2ecc71;
        box-shadow: 0 0 30px rgba(39, 174, 96, 0.5);
}

/* Step 3 - Success */
.success-section {
        text-align: center;
        padding: 60px 20px;
        max-width: 740px;
        margin: 0 auto;
}

.success-icon {
        width: 100px;
        height: 100px;
        background: rgba(39, 174, 96, 0.2);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 30px;
}

.success-icon i {
        font-size: 3rem;
        color: #27ae60;
}

.success-section h1 {
        color: #d4af37;
        font-family: 'Montserrat', sans-serif;
        margin-bottom: 15px;
}

.success-section p {
        color: #a0a0a0;
        margin-bottom: 30px;
}

.booking-id-display {
        background: rgba(212, 175, 55, 0.1);
        border: 2px solid #d4af37;
        border-radius: 12px;
        padding: 20px;
        margin: 30px 0;
}

.booking-id-display label {
        color: #888;
        font-size: 0.9rem;
        display: block;
        margin-bottom: 10px;
}

.booking-id-display .id-value {
        font-size: 2rem;
        color: #d4af37;
        font-weight: 700;
        letter-spacing: 5px;
}

.status-badge {
        display: inline-block;
        padding: 8px 20px;
        border-radius: 20px;
        font-size: 0.9rem;
        font-weight: 600;
        margin: 20px 0;
}

.status-pending {
        background: rgba(241, 196, 15, 0.2);
        color: #f1c40f;
}

.status-confirmed {
        background: rgba(39, 174, 96, 0.2);
        color: #27ae60;
}

.check-booking-link {
        display: inline-flex;
        align-items: center;
        gap: 10px;
        padding: 15px 30px;
        background: transparent;
        border: 2px solid #d4af37;
        color: #d4af37;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        text-decoration: none;
        border-radius: 8px;
        transition: all 0.3s;
        margin-top: 20px;
}

.check-booking-link:hover {
        background: #d4af37;
        color: #1a1a2e;
}

/* Loading overlay */
.loading-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.8);
        z-index: 9999;
        justify-content: center;
        align-items: center;
        flex-direction: column;
}

.loading-overlay.active {
        display: flex;
}

.loading-spinner {
        width: 50px;
        height: 50px;
        border: 4px solid rgba(212, 175, 55, 0.3);
        border-top-color: #d4af37;
        border-radius: 50%;
        animation: spin 1s linear infinite;
}

@keyframes spin {
        to { transform: rotate(360deg); }
}

.loading-text {
        color: white;
        margin-top: 20px;
        font-size: 1.1rem;
}

/* Editable field with icon */
.editable-field-wrapper {
        position: relative;
        display: flex;
        align-items: center;
}

.editable-field-wrapper input {
        flex: 1;
        padding-right: 45px;
}

.editable-field-wrapper input.readonly-mode {
        background: rgba(255, 255, 255, 0.02);
        color: #ccc;
        cursor: default;
}

.edit-field-btn {
        position: absolute;
        right: 10px;
        top: 50%;
        transform: translateY(-50%);
        background: transparent;
        border: none;
        color: #d4af37;
        cursor: pointer;
        font-size: 1rem;
        padding: 5px;
        transition: all 0.3s;
}

.edit-field-btn:hover {
        color: #f0c850;
}

/* Edit mode banner */
.edit-mode-banner {
        background: rgba(212, 175, 55, 0.15);
        border: 1px solid #d4af37;
        border-radius: 8px;
        padding: 15px 20px;
        margin-bottom: 20px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 15px;
        flex-wrap: wrap;
}

.edit-mode-banner .banner-text {
        color: #d4af37;
        display: flex;
        align-items: center;
        gap: 10px;
}

.edit-mode-banner .banner-text i {
        font-size: 1.2rem;
}

.cancel-edit-btn {
        background: rgba(231, 76, 60, 0.2);
        border: 1px solid #e74c3c;
        color: #e74c3c;
        padding: 8px 15px;
        border-radius: 6px;
        cursor: pointer;
        font-size: 0.85rem;
        transition: all 0.3s;
}

.cancel-edit-btn:hover {
        background: rgba(231, 76, 60, 0.3);
}
.add-attendee-btn {
    font-family: 'Montserrat', sans-serif;
}
.payment-methods-rub {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 15px;
    margin: 30px 0;
}
.payment-method.rub {
    margin-bottom: 2em;
    background: rgb(94 255 72 / 10%);
}
.payment-method.rub h4 {
        text-transform: uppercase;
        margin-top: 1em;
}
.payment-method.rub img {
        background-color: #e1ffe2;
        border-radius: 0.5em;
}
.go-to-pay {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px 40px;
    background: #27abae;
    color: white;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    letter-spacing: 2px;
    cursor: pointer;
    border: none;
    border-radius: 8px;
    width: 100%;
    margin-top: 20px;
    transition: all 0.3s;
}

.go-to-pay:hover:not(:disabled) {
    background: #1f8a8c;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(39, 171, 174, 0.3);
}

.go-to-pay:disabled {
    background: #444;
    color: #888;
    cursor: not-allowed;
    opacity: 0.6;
}

.go-to-pay i {
    font-size: 1.2rem;
}
/* Payment Gateway Buttons */
.payment-btn {
    transition: all 0.3s ease !important;
}

.payment-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, #16213e 0%, #1f3460 100%) !important;
}

.payment-btn:active {
    transform: translateY(0);
}

/* Success page styles */
.success-section .status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 50px;
    margin: 20px 0;
}

.status-pending {
    background: rgba(212, 175, 55, 0.2);
    border: 1px solid #d4af37;
    color: #d4af37;
}

.status-success {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid #4CAF50;
    color: #4CAF50;
}

.ticket-item:hover {
    border-color: #d4af37 !important;
}

.download-ticket-btn:hover {
    background: #c4a030 !important;
}

.send-email-btn:hover {
    background: #c4a030 !important;
}
