/* PayPal Button Styles */
.paypal-btn {
    width: 100%;
    padding: 12px 20px;
    background-color: #0070ba;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
    text-transform: none;
    box-shadow: 0 2px 4px rgba(0, 112, 186, 0.2);
}

.paypal-btn:hover {
    background-color: #005ba3;
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 112, 186, 0.3);
}

.paypal-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 112, 186, 0.2);
}

/* PayPal Modal Styles */
.paypal-modal {
    background-color: #1a1a1a !important;
    border: 1px solid #3a3a3a;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}

.paypal-modal h2 {
    color: #0070ba;
    text-align: center;
    margin-bottom: 20px;
    font-size: 24px;
    border-bottom: 2px solid #0070ba;
    padding-bottom: 10px;
}

.paypal-modal h3 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 18px;
}

.paypal-modal h4 {
    color: #d4af37;
    margin-bottom: 10px;
    margin-top: 20px;
    font-size: 16px;
}

/* PayPal Form Styles */
.paypal-form {
    color: #ffffff;
}

.form-section {
    margin-bottom: 25px;
    padding: 15px;
    background-color: #2a2a2a;
    border-radius: 5px;
    border: 1px solid #3a3a3a;
}

.form-section h3 {
    color: #d4af37;
    margin-bottom: 15px;
    font-size: 18px;
    border-bottom: 1px solid #3a3a3a;
    padding-bottom: 8px;
}

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

.form-group label {
    display: block;
    color: #cccccc;
    margin-bottom: 5px;
    font-weight: 500;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 10px 12px;
    background-color: #1a1a1a;
    border: 1px solid #3a3a3a;
    border-radius: 4px;
    color: #ffffff;
    font-size: 14px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #0070ba;
    box-shadow: 0 0 0 2px rgba(0, 112, 186, 0.2);
}

.form-group input:required:invalid {
    border-color: #dc3545;
}

.form-group input:required:valid {
    border-color: #28a745;
}

.form-row {
    display: flex;
    gap: 15px;
}

.form-row .form-group {
    flex: 1;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    accent-color: #0070ba;
}

.checkbox-group label {
    margin: 0;
    color: #cccccc;
    font-size: 14px;
    cursor: pointer;
}

.billing-address {
    transition: all 0.3s ease;
}

.payment-summary {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #3a3a3a;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 0;
}

.detail-row:last-child {
    margin-bottom: 0;
}

.detail-row .label {
    color: #cccccc;
    font-weight: 500;
}

.detail-row .value {
    color: #ffffff;
    font-weight: 600;
    text-align: right;
}

.paypal-instructions {
    background-color: #2a2a2a;
    padding: 15px;
    border-radius: 5px;
    margin-bottom: 20px;
    border: 1px solid #3a3a3a;
}

.paypal-instructions ol {
    margin: 10px 0 0 20px;
    padding: 0;
}

.paypal-instructions li {
    color: #cccccc;
    margin-bottom: 8px;
    line-height: 1.4;
}

.paypal-buttons {
    display: flex;
    gap: 10px;
    margin-top: 20px;
}

.paypal-confirm-btn {
    flex: 1;
    padding: 12px 20px;
    background-color: #0070ba;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.paypal-confirm-btn:hover {
    background-color: #005ba3;
}

.paypal-cancel-btn {
    flex: 1;
    padding: 12px 20px;
    background-color: #666666;
    color: #ffffff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.paypal-cancel-btn:hover {
    background-color: #555555;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    color: #d4af37;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: #ffffff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .paypal-modal {
        width: 95%;
        margin: 10px auto;
        max-height: 95vh;
    }
    
    .paypal-buttons {
        flex-direction: column;
    }
    
    .form-row {
        flex-direction: column;
        gap: 10px;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-row .value {
        text-align: left;
    }
    
    .form-section {
        padding: 10px;
        margin-bottom: 15px;
    }
    
    .checkbox-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}
