/* WooCommerce Orange Money Gateway - Checkout Styles */

.wc-payment-form.payment_method_orange_money {
    padding: 15px 0;
}

.wc-orange-money-test-notice {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 10px 15px;
    border-radius: 4px;
    margin-bottom: 15px;
    font-size: 14px;
}

.wc-orange-money-phone {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.wc-orange-money-phone:focus {
    border-color: #ff6600;
    outline: none;
    box-shadow: 0 0 5px rgba(255, 102, 0, 0.3);
}

.wc-orange-money-phone.woocommerce-invalid {
    border-color: #dc3232;
}

.payment_method_orange_money .description {
    font-size: 13px;
    color: #666;
    margin-top: 5px;
    display: block;
}

/* Thank you page styles */
.wc-orange-money-payment-info {
    background: #f7f9fc;
    border: 1px solid #d4dce6;
    border-radius: 6px;
    padding: 20px;
    margin: 20px 0;
}

.wc-orange-money-payment-info h2 {
    margin-top: 0;
    color: #ff6600;
    display: flex;
    align-items: center;
}

.wc-orange-money-payment-info h2:before {
    content: '\f528'; /* dashicons-smartphone */
    font-family: dashicons;
    font-size: 28px;
    margin-right: 10px;
}

.wc-orange-money-payment-info p {
    margin: 10px 0;
    line-height: 1.6;
}

.wc-orange-money-payment-info code {
    background: #fff;
    padding: 4px 8px;
    border-radius: 3px;
    border: 1px solid #ddd;
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

/* Payment status indicator */
#wc-orange-money-status-check {
    margin-top: 15px;
    padding: 15px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #ddd;
}

.wc-orange-money-status-message {
    display: flex;
    align-items: center;
    font-weight: 500;
}

.wc-orange-money-status-message:before {
    content: '';
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-right: 10px;
    border: 2px solid #ff6600;
    border-top-color: transparent;
    border-radius: 50%;
    animation: wc-orange-money-spin 1s linear infinite;
}

@keyframes wc-orange-money-spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.wc-orange-money-status-message.success:before {
    content: '\2713';
    border: none;
    color: #46b450;
    font-weight: bold;
    animation: none;
}

.wc-orange-money-status-message.error:before {
    content: '\2717';
    border: none;
    color: #dc3232;
    font-weight: bold;
    animation: none;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .wc-orange-money-payment-info {
        padding: 15px;
    }
    
    .wc-orange-money-payment-info h2 {
        font-size: 18px;
    }
    
    .wc-orange-money-phone {
        font-size: 16px;
    }
}
