/**
 * Payment Styles for Travel Tours Booking
 */

/* Payment Section */
.payment-section {
    margin: 20px 0;
    padding: 20px;
    background: transparent; /* Make flat */
    border-radius: 0; /* Remove rounded corners */
    border: none; /* Remove border */
    box-shadow: none; /* Remove shadow */
}

.payment-section h4 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 18px;
    font-weight: 600;
}

/* Payment Methods */
.payment-methods {
    display: flex !important;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 25px;
    visibility: visible !important;
    opacity: 1 !important;
}

.payment-method-option {
    border: 1px solid #ddd !important;
    border-radius: 0; /* Remove rounded corners */
    padding: 0;
    transition: none; /* Remove animations */
    background: transparent !important; /* Make flat */
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 15px;
    box-shadow: none; /* Remove shadow */
}

.payment-method-option:hover {
    border-color: #00a884; /* Sea pickle green */
    box-shadow: none; /* Remove shadow */
    transform: none; /* Remove animations */
}

.payment-method-option input[type="radio"] {
    display: none;
}

.payment-method-option input[type="radio"]:checked + label {
    border-color: #00a884; /* Sea pickle green */
    background: rgba(0, 168, 132, 0.1); /* Sea pickle green background */
    box-shadow: none; /* Remove shadow */
}

.payment-method-option label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    cursor: pointer;
    margin: 0;
    border-radius: 0; /* Remove rounded corners */
    transition: none; /* Remove animations */
}

.payment-method-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.payment-method-info strong {
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.payment-method-info span {
    font-size: 14px;
    color: #666;
}

.payment-method-icons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.payment-method-icons img {
    height: 24px;
    width: auto;
    border-radius: 0;
}

.payment-method-icons .payment-icon {
    display: inline-block;
    padding: 4px 8px;
    background: #f0f0f0;
    border: 1px solid #ddd;
    border-radius: 0;
    font-size: 11px;
    font-weight: 600;
    color: #333;
    margin-right: 4px;
}

/* Payment Forms */
.payment-forms {
    margin-top: 25px;
}

.payment-form {
    padding: 20px;
    background: transparent; /* Make flat */
    border: none; /* Remove border */
    border-radius: 0; /* Remove rounded corners */
    margin-bottom: 20px;
    box-shadow: none; /* Remove shadow */
}

.payment-form h5 {
    margin: 0 0 15px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

/* Stripe Form */
.stripe-form #stripe-card-element {
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 0; /* Remove rounded corners */
    background: transparent; /* Make flat */
    margin-bottom: 10px;
}

.stripe-form #stripe-card-errors {
    color: #d63638;
    font-size: 14px;
    margin-top: 10px;
    padding: 8px;
    background: #fff2f2;
    border-radius: 0;
    display: none;
}

.stripe-form #stripe-card-errors:not(:empty) {
    display: block;
}

/* PayPal Form */
.paypal-form #paypal-button-container {
    margin: 10px 0;
}

/* Bank Transfer Form */
.bank-form .bank-details {
    background: transparent; /* Make flat */
    padding: 20px;
    border-radius: 0; /* Remove rounded corners */
    border: 1px solid #ddd;
    box-shadow: none; /* Remove shadow */
}

.bank-form .bank-info {
    background: transparent; /* Make flat */
    padding: 15px;
    border-radius: 0; /* Remove rounded corners */
    margin: 15px 0;
    border: 1px solid #ddd;
    box-shadow: none; /* Remove shadow */
}

.bank-form .bank-info p {
    margin: 8px 0;
    font-size: 14px;
}

.bank-form .bank-note {
    background: transparent; /* Make flat */
    color: #333; /* Dark text */
    padding: 12px;
    border-radius: 0; /* Remove rounded corners */
    border: 1px solid #ddd;
    font-size: 14px;
    margin-top: 15px;
    box-shadow: none; /* Remove shadow */
}

/* Booking Navigation */
.booking-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

.booking-navigation .button {
    padding: 12px 24px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 0; /* Remove rounded corners */
    transition: none; /* Remove animations */
    text-decoration: none;
    display: inline-block;
    cursor: pointer;
    border: none;
    box-shadow: none; /* Remove shadow */
}

.booking-navigation .prev-step {
    background: #6c757d;
    color: white;
}

.booking-navigation .prev-step:hover {
    background: #5a6268;
    transform: none; /* Remove animations */
}

.booking-navigation .next-step,
.booking-navigation .complete-booking-btn {
    background: #00a884; /* Sea pickle green */
    color: white;
    font-size: 14px;
}

.booking-navigation .next-step:hover,
.booking-navigation .complete-booking-btn:hover {
    background: #008f72; /* Darker sea pickle green */
    transform: none; /* Remove animations */
}

.booking-navigation .next-step:disabled,
.booking-navigation .complete-booking-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: none;
}

/* Payment Success/Error Messages - Point 23: Make flat */
.payment-success {
    text-align: center;
    padding: 40px 20px;
    background: transparent; /* Make flat */
    border-radius: 0; /* Remove rounded corners */
    border: 1px solid #ddd;
    margin: 20px 0;
    position: relative;
    box-shadow: none; /* Remove shadow */
}

.payment-success .success-icon {
    font-size: 60px;
    color: #00a884; /* Sea pickle green */
    margin-bottom: 20px;
    display: block;
    font-weight: bold;
    text-shadow: none; /* Remove shadow */
    animation: none; /* Remove animations */
    transform: none; /* Remove animations */
}

@keyframes successPulse {
    0% {
        transform: none; /* Remove animations */
        opacity: 1;
    }
    50% {
        transform: none; /* Remove animations */
    }
    100% {
        transform: none; /* Remove animations */
        opacity: 1;
    }
}

.payment-success h3 {
    color: #222; /* Darker text */
    margin: 0 0 15px 0;
    font-size: 24px;
    font-weight: 700;
}

.payment-success p {
    color: #333; /* Dark text */
    margin: 10px 0;
    font-size: 16px;
}

.payment-success .booking-details {
    background: transparent; /* Make flat */
    padding: 15px;
    border-radius: 0; /* Remove rounded corners */
    margin: 20px 0;
    border: 1px solid #ddd;
    box-shadow: none; /* Remove shadow */
}

.payment-success .booking-details p {
    margin: 8px 0;
    color: #333;
}

.bank-transfer-instructions {
    text-align: center;
    padding: 40px 20px;
    background: transparent; /* Make flat */
    border-radius: 0; /* Remove rounded corners */
    border: 1px solid #ddd;
    margin: 20px 0;
    box-shadow: none; /* Remove shadow */
}

.bank-transfer-instructions .info-icon {
    font-size: 48px;
    color: #333; /* Dark text */
    margin-bottom: 20px;
    display: block;
}

.bank-transfer-instructions h3 {
    color: #222; /* Darker text */
    margin: 0 0 15px 0;
    font-size: 24px;
}

.bank-transfer-instructions p {
    color: #333; /* Dark text */
    margin: 10px 0;
    font-size: 16px;
}

.bank-transfer-instructions .bank-details {
    background: transparent; /* Make flat */
    padding: 20px;
    border-radius: 0; /* Remove rounded corners */
    margin: 20px 0;
    border: 1px solid #ddd;
    text-align: left;
    box-shadow: none; /* Remove shadow */
}

.bank-transfer-instructions .important-note {
    background: transparent; /* Make flat */
    color: #333; /* Dark text */
    padding: 15px;
    border-radius: 0; /* Remove rounded corners */
    border: 1px solid #ddd;
    margin: 20px 0;
    box-shadow: none; /* Remove shadow */
}

.payment-error {
    background: transparent; /* Make flat */
    color: #333; /* Dark text */
    padding: 15px 20px;
    border-radius: 0; /* Remove rounded corners */
    border: 1px solid #ddd;
    margin: 15px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: none; /* Remove shadow */
}

.payment-error .error-icon {
    font-size: 20px;
    color: var(--tt-pink-500);
}

/* Booking Summary Table */
.booking-summary-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: transparent; /* Make flat */
    border-radius: 0; /* Remove rounded corners */
    overflow: visible; /* Remove overflow */
    box-shadow: none; /* Remove shadow */
}

.booking-summary-table th,
.booking-summary-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.booking-summary-table th {
    background: transparent; /* Make flat */
    font-weight: 600;
    color: #222; /* Darker text */
    width: 40%;
}

.booking-summary-table td {
    color: #333; /* Dark text */
}

.booking-summary-table .total-row th,
.booking-summary-table .total-row td {
    background: transparent; /* Make flat */
    color: #333; /* Dark text */
    font-weight: 700;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
}

/* Tour Overview Text Color Fix */
.tt-tour-overview-section {
    background-color: transparent;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.tt-tour-overview-content {
    color: #333 !important;
    line-height: 1.6;
}

.tt-tour-overview-content p {
    color: #333 !important;
    margin-bottom: 15px;
}

.tt-tour-overview-content * {
    color: #333 !important;
}

/* Tour Info Dynamic Styles */
.tt-tour-info-item {
    background: transparent;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    border: none;
    display: flex;
    align-items: center;
    gap: 15px;
}

.tt-tour-info-icon {
    background: var(--tt-skyblue-500);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.tt-tour-info-content h4 {
    margin: 0 0 5px 0;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.tt-tour-info-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-method-option label {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .payment-method-icons {
        align-self: flex-end;
    }
    
    .booking-navigation {
        flex-direction: column;
        gap: 15px;
    }
    
    .booking-navigation .button {
        width: 100%;
        text-align: center;
    }
    
    .payment-section {
        padding: 15px;
    }
    
    .payment-form {
        padding: 15px;
    }
}

@media (max-width: 480px) {
    .payment-success,
    .bank-transfer-instructions {
        padding: 30px 15px;
    }
    
    .payment-success .success-icon,
    .bank-transfer-instructions .info-icon {
        font-size: 36px;
    }
    
    .payment-success h3,
    .bank-transfer-instructions h3 {
        font-size: 20px;
    }
}