* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #009639 0%, #000000 25%, #ffce00 50%, #000000 75%, #009639 100%);
    min-height: 100vh;
    color: #333;
}

.jamaica-stripe {
    height: 8px;
    background: linear-gradient(45deg, #009639 0%, #009639 25%, #000000 25%, #000000 50%, #ffce00 50%, #ffce00 75%, #000000 75%, #000000 100%);
}

.payment-container {
    min-height: 100vh;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logo h2 {
    color: #009639;
    font-size: 1.8rem;
    font-weight: 700;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #009639;
    font-weight: 600;
}

.security-badge i {
    font-size: 1.2rem;
}

.payment-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.payment-form-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

/* Service Summary */
.service-summary {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    height: fit-content;
}

.service-summary h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
    font-weight: 600;
}

.service-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 25px;
}

.service-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e9ecef;
}

.service-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.service-item span:first-child {
    color: #666;
}

.service-item span:last-child {
    font-weight: 600;
    color: #333;
}

.payment-options h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.payment-type-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 25px;
}

.payment-type-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
}

.payment-type-btn:hover,
.payment-type-btn.active {
    border-color: #009639;
    background: #f8fff8;
}

.payment-type-btn i {
    font-size: 1.5rem;
    color: #009639;
}

.payment-type-btn span {
    font-weight: 600;
    color: #333;
}

.payment-type-btn small {
    color: #666;
    font-size: 0.8rem;
    display: block;
    margin-top: 2px;
}

.amount-display {
    background: #009639;
    color: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
}

.amount-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.amount {
    font-size: 1.5rem;
    font-weight: 700;
}

/* Payment Methods */
.payment-methods {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.payment-methods h3 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
}

.payment-method-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
}

.method-tab {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px;
    border: 2px solid #e9ecef;
    background: white;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.method-tab:hover,
.method-tab.active {
    border-color: #009639;
    background: #f8fff8;
    color: #009639;
}

.method-tab i {
    font-size: 1.2rem;
}

.method-tab span {
    font-weight: 600;
}

/* Form Styles */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #333;
}

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

.form-group input {
    width: 100%;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus {
    outline: none;
    border-color: #009639;
    box-shadow: 0 0 0 3px rgba(0, 150, 57, 0.1);
}

/* Stripe Elements */
#card-element {
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    background: white;
    transition: border-color 0.3s ease;
}

#card-element:focus-within {
    border-color: #009639;
    box-shadow: 0 0 0 3px rgba(0, 150, 57, 0.1);
}

#card-errors {
    color: #dc3545;
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Security Info */
.security-info {
    display: flex;
    justify-content: space-around;
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.security-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    text-align: center;
}

.security-item i {
    color: #009639;
    font-size: 1.2rem;
}

.security-item span {
    font-size: 0.8rem;
    color: #666;
}

/* PayPal Styles */
.paypal-container {
    text-align: center;
}

.paypal-info {
    margin-bottom: 25px;
}

.paypal-info i {
    font-size: 3rem;
    color: #0070ba;
    margin-bottom: 15px;
}

.paypal-info h4 {
    color: #333;
    margin-bottom: 10px;
}

.paypal-info p {
    color: #666;
    line-height: 1.6;
}

#paypal-button-container {
    margin-top: 20px;
}

/* Button Styles */
.btn {
    padding: 15px 30px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1rem;
    width: 100%;
}

.btn-primary {
    background: linear-gradient(45deg, #009639, #00b347);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 150, 57, 0.3);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
    padding: 30px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
}

.trust-item i {
    font-size: 2rem;
    color: #009639;
}

.trust-item span {
    font-weight: 600;
    color: #333;
}

/* Responsive Design */
@media (max-width: 768px) {
    .payment-header {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .payment-form-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .payment-method-tabs {
        flex-direction: column;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .security-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 20px;
    }
    
    .payment-type-buttons {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .payment-main {
        padding: 20px 10px;
    }
    
    .service-summary,
    .payment-methods {
        padding: 20px;
    }
    
    .logo h2 {
        font-size: 1.5rem;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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