/* Paymob Payment Form Styling */
#payment-form {
    transition: all 0.3s ease;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
}

#payment-form:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#payment-form h3 {
    color: #333;
    margin-bottom: 20px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.card-form-container {
    padding: 20px;
    border-radius: 8px;
    background-color: #f9f9f9;
    margin-bottom: 20px;
}

/* Custom pay button styling */
.custom-pay-button {
    background-color: #5E35B1;
    color: white;
    border: none;
    border-radius: 8px;
    padding: 14px 24px;
    font-size: 18px;
    font-weight: bold;
    width: 100%;
    cursor: pointer;
    transition: background-color 0.3s ease;
    text-align: center;
    margin-top: 20px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.custom-pay-button:hover {
    background-color: #4527A0;
    transform: translateY(-2px);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}

.custom-pay-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.custom-pay-button:disabled {
    background-color: #9E9E9E;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Hide Paymob's default elements */
.paymob-button, 
[data-paymob-button],
.paymob-powered-by {
    display: none !important;
}

/* Improve input styling */
[data-paymob-field] {
    width: 100% !important;
    padding: 14px !important;
    border: 1px solid #ddd !important;
    border-radius: 8px !important;
    margin-bottom: 20px !important;
    font-size: 16px !important;
    transition: all 0.3s ease !important;
    background-color: #fff !important;
}

[data-paymob-field]:focus {
    border-color: #5E35B1 !important;
    outline: none !important;
    box-shadow: 0 0 0 3px rgba(94, 53, 177, 0.1) !important;
}

[data-paymob-field]::placeholder {
    color: #aaa !important;
}

[data-paymob-label] {
    display: block !important;
    font-weight: bold !important;
    margin-bottom: 10px !important;
    color: #333 !important;
    font-size: 16px !important;
}

/* Error message styling */
.error-message {
    color: #D32F2F;
    background-color: #FFEBEE;
    padding: 10px;
    border-radius: 4px;
    margin-top: 10px;
    text-align: center;
    font-weight: bold;
}

/* Payment logos styling */
.payment-logos {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 15px;
}

.payment-logo {
    height: 30px;
    object-fit: contain;
}

/* Secure payment badge */
.secure-payment-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 15px;
    color: #4CAF50;
    font-size: 14px;
}

.secure-payment-badge i {
    margin-left: 5px;
}

/* Payment details summary */
.payment-summary {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

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

.payment-summary-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.payment-summary-label {
    font-weight: bold;
    color: #555;
}

.payment-summary-value {
    font-weight: bold;
}
