/* WooCommerce specific styles */
.woocommerce-message, 
.woocommerce-error, 
.woocommerce-info {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.woocommerce-message {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.woocommerce-error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.woocommerce-info {
    background-color: #d1ecf1;
    color: #0c5460;
    border: 1px solid #bee5eb;
}


.woocommerce button.button,
.woocommerce a.button {
    background-color: #007bff;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.woocommerce button.button:hover,
.woocommerce a.button:hover {
    background-color: #0069d9;
}

.woocommerce ul.products li.product {
    text-align: center;
    margin-bottom: 30px;
}

.woocommerce ul.products li.product .price {
    color: #28a745;
    font-weight: bold;
}

.woocommerce .star-rating {
    color: #ffc107;
}


/* Checkout page styles */
.woocommerce table.shop_table th {
    background-color: #001b33 !important;
    text-align: start !important;
}


/* Product single page */
.woocommerce div.product .product_title {
    font-size: 24px;
    margin-bottom: 15px;
}

.woocommerce div.product p.price {
    font-size: 22px;
    color: #28a745;
}

.woocommerce div.product .stock {
    font-weight: bold;
}

.woocommerce div.product .stock.in-stock {
    color: #28a745;
}

.woocommerce div.product .stock.out-of-stock {
    color: #dc3545;
}

/* Cart page */
.woocommerce-cart .woocommerce-cart-form {
    margin-bottom: 30px;
}

.woocommerce table.shop_table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 20px;
}

.woocommerce table.shop_table th,
.woocommerce table.shop_table td {
    padding: 12px;
    text-align: left;
    border: 1px solid #dee2e6;
}

.woocommerce table.shop_table th {
    background-color: #f8f9fa;
}

/* Responsive tables */
@media (max-width: 768px) {
    .woocommerce table.shop_table_responsive thead {
        display: none;
    }
    
    .woocommerce table.shop_table_responsive tr {
        display: block;
        margin-bottom: 15px;
        border: 1px solid #dee2e6;
    }
    
    .woocommerce table.shop_table_responsive td {
        display: block;
        text-align: right;
        padding-left: 50%;
        position: relative;
    }
    
    .woocommerce table.shop_table_responsive td::before {
        content: attr(data-title);
        position: absolute;
        left: 12px;
        font-weight: bold;
    }
}

/** wallet **/

.woocommerce .handcrafted-wallet-container {
    background: linear-gradient(145deg, #002547, #001b33);
    color: #fff;
    border-radius: 12px;
    padding: 18px;
    margin-bottom: 20px;
    box-shadow: 0 8px 20px rgba(0, 27, 51, .25);
    direction: rtl;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1);
    max-width: 500px
}

.woocommerce .handcrafted-wallet-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;base64,...');
    opacity: .15;
    z-index: 0
}

.woocommerce .handcrafted-wallet-header {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    color: #fff;
    position: relative;
    display: flex;
    align-items: center;
    z-index: 1
}

.woocommerce .wallet-icon {
    margin-left: 8px;
    color: #00a8ff
}

.woocommerce .handcrafted-wallet-balance-section {
    background: rgba(255, 255, 255, .08);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 15px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1;
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 4px 10px rgba(0, 0, 0, .1)
}

.woocommerce .balance-wrapper {
    flex: 1
}

.woocommerce .balance-icon {
    font-size: 20px;
    color: #00a8ff;
    margin-right: 10px
}

.woocommerce .handcrafted-wallet-label {
    font-size: 12px;
    color: rgba(255, 255, 255, .7);
    margin-bottom: 4px;
    display: block
}

.woocommerce .handcrafted-wallet-amount {
    font-size: 22px;
    font-weight: 700;
    color: #fff
}

.woocommerce .handcrafted-wallet-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    z-index: 1;
    position: relative
}

.woocommerce .handcrafted-wallet-button {
    background: linear-gradient(135deg, #08f, #005abb);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: 10px 8px;
    cursor: pointer;
    text-align: center;
    font-weight: 600;
    transition: .3s;
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 10px rgba(0, 88, 170, .25);
    font-size: 12px
}

.woocommerce .handcrafted-wallet-button i {
    font-size: 16px;
    margin-bottom: 3px
}

.woocommerce .handcrafted-wallet-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 12px rgba(0, 88, 170, .4);
    background: linear-gradient(135deg, #09f, #0065cc)
}

.woocommerce .handcrafted-wallet-button:active {
    transform: translateY(1px)
}

.woocommerce .wallet-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 10, 20, .8);
    direction: rtl;
    backdrop-filter: blur(6px)
}

.woocommerce .wallet-modal-content {
    position: relative;
    background: linear-gradient(to bottom, #036, #001b33);
    margin: 10% auto;
    padding: 0;
    border-radius: 14px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, .3);
    width: 85%;
    max-width: 350px;
    animation: .4s cubic-bezier(.175, .885, .32, 1.275) modalSlideIn;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .1)
}

.woocommerce .modal-header {
    background: linear-gradient(135deg, #08f, #005bbc);
    color: #fff;
    padding: 15px;
    position: relative;
    text-align: center
}

.woocommerce .modal-header h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px
}

.woocommerce .modal-body {
    padding: 20px 15px;
    color: #fff
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-40px) scale(.95)
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.woocommerce .close-modal {
    position: absolute;
    top: 12px;
    left: 12px;
    color: rgba(255, 255, 255, .8);
    font-size: 20px;
    font-weight: 400;
    cursor: pointer;
    width: 24px;
    height: 24px;
    line-height: 24px;
    text-align: center;
    border-radius: 50%;
    transition: .2s
}

.woocommerce .close-modal:hover {
    background-color: rgba(0, 0, 0, .2);
    color: #fff
}

.woocommerce .woo-wallet-add-amount {
    margin-top: 8px
}

.woocommerce .woo-wallet-add-amount label {
    display: block;
    margin-bottom: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, .85);
    font-size: 14px;
    text-align: center
}

.woocommerce .woo-wallet-balance-to-add {
    width: 100%;
    padding: 12px;
    border-radius: 8px;
    border: 2px solid rgba(255, 255, 255, .1);
    background: rgba(255, 255, 255, .05);
    margin-bottom: 18px;
    font-size: 18px;
    text-align: center;
    font-weight: 600;
    color: #fff;
    transition: .2s;
    box-sizing: border-box
}

.woocommerce .woo-wallet-balance-to-add:focus {
    border-color: #08f;
    outline: 0;
    box-shadow: 0 0 0 3px rgba(0, 136, 255, .2);
    background: rgba(255, 255, 255, .08)
}

.woocommerce .woo-wallet-balance-to-add::placeholder {
    color: rgba(255, 255, 255, .4);
    font-weight: 400
}

.woocommerce .currency-icon {
    position: relative
}

.woocommerce .currency-icon:before {
    content: 'ج.س';
    position: absolute;
    left: 12px;
    top: 13px;
    color: rgba(255, 255, 255, .6);
    font-size: 16px
}

.woocommerce .woo-add-to-wallet {
    background: linear-gradient(135deg, #08f 0, #0063cc 100%);
    color: #fff;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    width: 100%;
    font-size: 14px;
    letter-spacing: .5px;
    transition: .2s;
    box-shadow: 0 4px 10px rgba(0, 106, 199, .3)
}

.woocommerce .woo-add-to-wallet:hover {
    background: linear-gradient(135deg, #09f 0, #0070e0 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 106, 199, .4)
}

.woocommerce .woo-add-to-wallet:active {
    transform: translateY(1px);
    box-shadow: 0 2px 5px rgba(0, 106, 199, .3)
}

.woocommerce .amount-suggestion {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    justify-content: center
}

.woocommerce .amount-chip {
    background-color: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 6px;
    padding: 6px 10px;
    font-size: 13px;
    cursor: pointer;
    transition: .25s;
    color: rgba(255, 255, 255, .9);
    font-weight: 600;
    font-family: Cairo, sans-serif !important
}

.woocommerce .amount-chip:hover {
    background-color: rgba(255, 255, 255, .12);
    transform: translateY(-2px)
}

.woocommerce .amount-chip.active {
    background-color: rgba(0, 136, 255, .25);
    color: #fff;
    border-color: rgba(0, 136, 255, .5);
    box-shadow: 0 2px 8px rgba(0, 136, 255, .2)
}












 /* إخفاء القائمة المنسدلة الأصلية */
.woocommerce .variations select {
    display: none !important;
}

/* تصميم حاوية الأزرار الرئيسية */
.woocommerce .variation-options-container {
    margin: 20px 0;
    padding: 15px;
    background-color: #33495c;
    border-radius: 15px;
}

/* تصميم عنوان الخاصية */
.woocommerce .variation-attribute-title {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 12px;
    padding-bottom: 8px;
}

/* تصميم حاوية الأزرار */
.woocommerce .variation-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* تصميم الأزرار بنمط "كارت" */
.woocommerce .variation-buttons label {
    flex: 0 0 auto;
    min-width: 80px;
    padding: 12px 15px;
    margin-bottom: 8px;
    background-color: #123663;
    border-radius: 10px;
    text-align: center;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
    box-shadow: 0 2px 5px rgba(0,0,0,0.03);
}

/* تأثير التحويم على الأزرار */
.woocommerce .variation-buttons label:hover {
    border-color: #ddd;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* تصميم الزر النشط */
.woocommerce .variation-buttons label.active {
    background-color: #6366f1;
    color: white;
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

/* الشارة للأزرار عند اختيارها */
.woocommerce .variation-buttons label.active:before {
    content: "✓";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 16px;
    height: 16px;
    font-size: 10px;
    line-height: 16px;
    text-align: center;
    background-color: white;
    color: #6366f1;
    border-radius: 50%;
}

/* تصميم زر إعادة الاختيار */
.woocommerce .variation-reset {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    padding: 8px 12px;
    background-color: transparent;
    border: none;
    color: #6366f1;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce .variation-reset:hover {
    text-decoration: underline;
    color: #4f46e5;
}

.woocommerce .variation-reset i {
    margin-right: 5px;
    font-size: 14px;
}

/* شارة للخيارات غير المتوفرة */
.woocommerce .variation-buttons label.unavailable {
    background-color: #f9f9f9;
    color: #bbb;
    border-color: #eee;
    cursor: not-allowed;
    text-decoration: line-through;
    opacity: 0.7;
}

/* تخطيط خاص للعرض على الجوال */
@media (max-width: 767px) {
    .woocommerce .variation-buttons label {
        min-width: calc(33.33% - 8px);
        padding: 10px 8px;
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .woocommerce .variation-buttons label {
        min-width: calc(50% - 8px);
    }
}

/* ملخص الاختيارات المحددة */
.woocommerce .selected-variations-summary {
    margin: 15px 0;
    padding: 12px 15px;
    background-color: black;
    border-radius: 10px;
    border-left: 3px solid #6366f1;
    font-size: 14px;
    display: none;
}

.woocommerce .selected-variations-summary.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* حاوية السعر */
.woocommerce .price-summary {
    margin-top: 15px;
    padding: 12px;
    background-color: #123663;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.woocommerce .price-summary .price-label {
    font-weight: 600;
}

.woocommerce .price-summary .price-value {
    font-weight: 700;
    color: #6366f1;
    font-size: 18px;
}









/**
 * ملف CSS لعرض معاملات المحفظة مع كلاس ووكمرس
 */

.woocommerce .wallet-transactions-container {
    direction: rtl;
    max-width: 1000px;
    margin: 0 auto;
    padding: 15px;
    color: #444;
}

/* بطاقة الإجمالي */
.woocommerce .transactions-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 30px;
    justify-content: space-between;
}

.woocommerce .summary-card {
background: linear-gradient(145deg, #062046, #0d2e60);
	padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    min-width: 200px;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 15px;
}

.woocommerce .summary-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.woocommerce .debit-summary .summary-icon {
    background-color: #0bd8951c;
    color: #0bd895;
}

.woocommerce .credit-summary .summary-icon {
    background-color: rgba(0, 184, 124, 0.1);
    color: #00b87c;
}

.woocommerce .balance-summary .summary-icon {
    background-color: rgba(50, 100, 245, 0.1);
    color: #3264f5;
}

.woocommerce .summary-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

.woocommerce .summary-info {
    flex: 1;
}

.woocommerce .summary-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 5px;
}

.woocommerce .summary-value {
    font-size: 20px;
    font-weight: 600;
}

.woocommerce .debit-summary .summary-value {
    color: #0bd895;
}
.woocommerce .balance-summary .summary-value {
    color: #3264f5;
}

/* شريط التصفية */
.woocommerce .transactions-filter {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 15px;

}

.woocommerce .filter-label {
    font-size: 16px;
    font-weight: 600;
    color: #555;
}

.woocommerce .filter-tabs {
    display: flex;
background: linear-gradient(135deg, #08f, #005abb);
	border-radius: 50px;
    padding: 3px;
}

.woocommerce .filter-tab {
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.woocommerce .filter-tab.active {
background: linear-gradient(135deg, #08f, #005abb);
	box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    color: #fff;
    font-weight: 500;
}

/* قائمة المعاملات */
.woocommerce .transactions-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* بطاقة المعاملة */
.woocommerce .transaction-card {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 10px;
background: linear-gradient(145deg, #062046, #0d2e60);
	transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.woocommerce .transaction-card:hover {
    transform: translateX(-5px);
    background-color: #f0f2f5;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

/* أيقونة المعاملة */
.woocommerce .transaction-icon {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 15px;
    flex-shrink: 0;
}

.woocommerce .credit-transaction .transaction-icon {
    background-color: rgba(0, 184, 124, 0.1);
    color: #00b87c;
}

.woocommerce .debit-transaction .transaction-icon {
    background-color: rgba(245, 54, 92, 0.1);
    color: #f5365c;
}

.woocommerce .transaction-icon .dashicons {
    font-size: 22px;
    width: 22px;
    height: 22px;
}

/* تفاصيل المعاملة */
.woocommerce .transaction-details {
    flex: 1;
}

.woocommerce .transaction-description {
    font-size: 15px;
    font-weight: 500;
    margin-bottom: 5px;
	color:white;
}

.woocommerce .transaction-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 13px;
	color:#fff;
}

.woocommerce .transaction-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.woocommerce .transaction-meta .dashicons {
    font-size: 14px;
    width: 14px;
    height: 14px;
}

/* مبلغ المعاملة */
.woocommerce .transaction-amount {
    font-size: 17px;
    font-weight: 600;
    padding: 5px 10px;
    border-radius: 5px;
}

.woocommerce .credit-amount {
    color: #00b87c;
    background-color: rgba(0, 184, 124, 0.07);
}

.woocommerce .debit-amount {
    color: #f5365c;
    background-color: rgba(245, 54, 92, 0.07);
}

/* حالة عدم وجود معاملات */
.woocommerce .no-transactions {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    background-color: #f8f9fa;
    border-radius: 10px;
    margin-top: 20px;
}

.woocommerce .no-transactions .dashicons {
    font-size: 40px;
    opacity: 0.3;
    margin-bottom: 10px;
}

.woocommerce .no-transactions p {
    font-size: 16px;
    margin: 0;
}

/* توافق مع الموبايل */
@media (max-width: 768px) {
    .woocommerce .transactions-summary {
        flex-direction: column;
    }
    
    .woocommerce .summary-card {
        width: 100%;
    }
    
    .woocommerce .transactions-filter {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .woocommerce .filter-tabs {
        width: 100%;
    }
    
    .woocommerce .filter-tab {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .woocommerce .transaction-card {
        flex-wrap: wrap;
    }
    
    .woocommerce .transaction-amount {
        width: 100%;
        margin-top: 10px;
        text-align: left;
    }
}



.woocommerce .variation-status-container {
    margin: 15px 0;
    direction: rtl;
}

/* تنسيق رسائل حالة التوفر */
.woocommerce .attribute-status {
  background-color: #123663;
  border: 2px solid #c00;
  color: #cc0000;
  padding: 12px 15px;
  margin-bottom: 10px;
  border-radius: 5px;
  font-weight: bold;
  text-align: right;
  position: relative;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  display: flex;
  align-items: center;
}
.woocommerce .attribute-status i {
    margin-left: 10px;
    font-size: 1.2em;
    flex-shrink: 0;
}

.woocommerce .status-message {
    flex-grow: 1;
}

@keyframes flash {
    0% { background-color: #ffe6e6; }
    50% { background-color: #ffcccc; }
    100% { background-color: #ffe6e6; }
}

.woocommerce .flash-message {
    animation: flash 1s;
}

.woocommerce .unavailable-option {
    color: #cc0000;
    text-decoration: line-through;
    background-color: #fff0f0;
    padding: 2px 5px;
    border-radius: 3px;
    margin: 0 2px;
}

.woocommerce .unavailable {
    position: relative;
    text-decoration: line-through;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.woocommerce .unavailable-tooltip {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: white;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.woocommerce .unavailable:hover .unavailable-tooltip {
    opacity: 1;
    visibility: visible;
}


/** Bank details upload **/
/* Bank details container */
.bacs-container {
    margin-bottom: 20px;
}
.woocommerce-checkout #payment div.payment_box ,
.woocommerce-checkout #payment{
	background-color:transparent !important;
	padding: 0 !important;
}
/* Bank card styling */
.bacs-card,
.form-group,
.form-row.place-order{
    background: #123663;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
	color:#fff;
}

.woocommerce-checkout #payment ul.payment_methods {
	    padding: 0 !important;
}
.woocommerce-terms-and-conditions-wrapper{
	font-size:15px;
}

/* Bank radio options */
.form-group{
	display:none;
}
.form-group br{
	display:none;
}
.bacs-radio-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.bacs-radio {
     display: flex;
    background: rgba(255, 255, 255, .1);
    color: #fff;
    border-radius: 6px;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s;
    align-items: center;
    line-height: 0;
    padding: 12px;
    gap: 10px;
}

.bacs-radio:hover,.bacs-radio.active {
    background: #080835;
}
.bacs-radio input {
    display: none;
}


.bank-icon {
    width: 32px;
    border-radius: 4px;
    box-shadow: -3px 2px 8px #2b2b2b !important;
}

/* Account details */
.bacs-details {
    display: none;
    flex-direction: column;
    gap: 15px;
}

.bacs-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, .2);
}

.account-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.copy-btn {
      background: #ffcc00;
    COLOR: #080835;
    font-weight: bold;
    border-radius: 4px;
    padding: 4px 8px;
    cursor: pointer;
    font-size: 12px;
}

.copy-btn:hover {
    background: #e0e0e0;
}

/* Note box */
.bacs-details p{
	margin-bottom:0;
}
.bacs-note-box {
background: rgba(255, 255, 255, .1);
    padding: 12px;
    border-radius: 6px;
    margin-top: 15px;
    text-align: center;
}

.bacs-note-title {
    font-weight: bold;
    display: block;
    margin-bottom: 5px;
}

.note-img-btn ,
.mobile-upload-btn,
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order{
background: #ffcc00 !important;
    color: #080835;
    border: none;
    padding: 12px 33px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 10px;
    font-size: 15px;
    font-family: inherit;
    font-weight: bold;
}
.mobile-upload-btn,
.woocommerce #payment #place_order, .woocommerce-page #payment #place_order{
    width: 80%;
    margin: 0 auto !important;
    display: block !important;
	float:none !important;
}

/* Modal */
.note-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.note-img {
width: 300px;
    max-width: 90% !important;
}

/* Form fields */
.mobile-transaction-field,
.mobile-upload-wrapper {
    width: 100%;
    margin-bottom: 20px;
}

.mobile-label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.mobile-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

/* Upload button */
.better-upload-wrapper {
    position: relative;
}

.mobile-file-input {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}


/* Image preview */
.image-preview-area {
    border: 1px dashed #ddd;
    padding: 10px;
    min-height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
}

.image-preview-area img {
    max-width: 100%;
    max-height: 200px;
}

/* Responsive */
@media (max-width: 768px) {
    .bacs-radio,
	.bacs-note-box{
      font-size: 13px;
    }

    .mobile-input {
        font-size: 16px;
        padding: 12px;
    }
}










/**
 * تنسيقات خدمة شحن الرصيد
 */

/* حاوية شحن الرصيد الرئيسية */
.custom-mobile-credit-container {
    background: linear-gradient(135deg, #0a1e3c 0%, #0f2d4e 100%);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.4);
    margin-bottom: 30px;
    color: white;
    border: 1px solid #2a4a7f;
}

/* ترويسة النموذج */
.mobile-credit-header {
    text-align: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}

.mobile-credit-header > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-credit-header i {
    font-size: 38px;
    color: #3498db;
    margin-left: 15px;
}

.mobile-credit-header h3 {
    margin: 0;
    color: #ffffff;
    font-weight: 600;
}

.mobile-credit-header p {
    margin-top: 10px;
    color: #bbd0e8;
    font-size: 14px;
}

/* حقول الإدخال */
.custom-mobile-credit-field {
    margin-bottom: 25px;
    position: relative;
}

.custom-mobile-credit-field label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: #e6f0ff;
}

.custom-mobile-credit-field label i {
    color: #ffc107;
    margin-left: 8px;
}

.custom-mobile-credit-field .fa-phone-alt {
    color: #3498db;
}

.custom-mobile-credit-field div {
    position: relative;
}

.custom-mobile-credit-field input {
    width: 100%;
    padding: 14px 20px;
    border-radius: 8px;
    border: 2px solid #2a4a7f;
    background-color: rgba(9, 29, 62, 0.8);
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
}

.custom-mobile-credit-field input:focus {
    border-color: #3498db;
    outline: none;
}

.custom-mobile-credit-field span {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #a3c2e3;
    font-weight: bold;
    pointer-events: none;
}

.custom-mobile-credit-field small {
    color: #bbd0e8;
    display: block;
    margin-top: 8px;
    font-size: 12px;
}

#amount_warning, #phone_warning {
    color: #ff6b6b;
    display: none;
    margin-top: 8px;
    font-weight: bold;
}

/* قسم السعر الإجمالي */
.total-price-section {
    background: linear-gradient(135deg, #0f2d4e 0%, #1a3a5f 100%);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    margin: 20px 0;
    border: 2px solid #2a4a7f;
    box-shadow: 0 3px 10px rgba(0,0,0,0.2);
}

.total-price-section > div {
    display: flex;
    align-items: center;
    justify-content: center;
}

.total-price-section i {
    color: #3498db;
    margin-left: 12px;
    font-size: 24px;
}

.total-price-section p:first-child {
    font-size: 14px;
    margin-bottom: 5px;
    color: #bbd0e8;
}

.total-price-section p:last-child {
    font-size: 24px;
    margin: 0;
    color: white;
    font-weight: bold;
}

.total-price-section span:last-child {
    font-size: 16px;
    color: #ffc107;
}

/* قسم المعلومات الإضافية */
.info-section {
    margin-top: 15px;
    padding: 10px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.info-section > div {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.info-section i {
    color: #3498db;
    margin-left: 10px;
}

.info-section p {
    margin: 0;
    color: #bbd0e8;
    font-size: 13px;
}

/* عند الخطأ */
.input-error {
    border-color: #ff6b6b !important;
}