/**
 * SMM Today - Modern Clean Payment Styles
 * تصميم جديد بألوان وتنسيق مختلف
 */

/* Main Container - خلفية فاتحة */
.smm-service-details {
    margin: 12px 0;
    padding: 20px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    color: #2d3748;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* Service Details - ألوان جديدة */
.service-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.service-detail-card {
    background: white;
    border-radius: 10px;
    padding: 16px 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
    transition: all 0.2s ease;
}

.service-detail-card:hover {
    border-color: #cbd5e0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.service-icon {
    font-size: 20px;
    margin-bottom: 10px;
    color: #805ad5;
    background: rgba(128, 90, 213, 0.1);
    border-radius: 50%;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.service-content h5 {
    font-size: 11px;
    font-weight: 600;
    margin: 0 0 6px;
    color: #718096;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.service-content p {
    margin: 0;
    color: #2d3748;
    font-size: 14px;
    font-weight: 600;
}

.service-price {
    color: #3182ce;
    font-weight: 700;
    font-size: 15px;
}

.service-min-val, .service-max-val {
    background: #805ad5;
    color: white;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 500;
    margin: 0 2px;
}

/* Order Details - تصميم جديد */
.order-details-section {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.field-label {
    font-size: 14px;
    font-weight: 600;
    color: #4a5568;
    margin-bottom: 6px;
    display: block;
}

.link_txtbox {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #cbd5e0;
    border-radius: 6px;
    font-size: 14px;
    color: #2d3748;
    background: white;
    transition: all 0.2s ease;
}

.link_txtbox:focus {
    outline: none;
    border-color: #805ad5;
    box-shadow: 0 0 0 2px rgba(128, 90, 213, 0.1);
}

/* Payment Section - ألوان مختلفة */
.smm-payment-integrated {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e2e8f0;
}

.smmtoday-payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.secure-badge {
    font-size: 13px;
    color: #38a169;
    font-weight: 500;
    margin: 0;
}

.payment-title {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: #2d3748;
}

/* Payment Gateways - ألوان بنفسجية */
.smmtoday-payment-gateways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 8px;
    margin-bottom: 16px;
}

.smm-payment-gateway-card {
    background: white;
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.smm-payment-gateway-card:hover {
    border-color: #805ad5;
}

.smm-payment-gateway-card.active {
    background: #805ad5;
    border-color: #805ad5;
}

.smm-payment-gateway-card.active .gateway-name {
    color: white;
    font-weight: 600;
}

.smm-payment-gateway-card.active::after {
    content: "✓";
    position: absolute;
    top: 4px;
    right: 4px;
    width: 14px;
    height: 14px;
    background: white;
    color: #805ad5;
    border-radius: 50%;
    font-size: 9px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gateway-name {
    font-size: 12px;
    font-weight: 500;
    color: #4a5568;
    margin: 0;
}

/* Buy Now Button - لون جديد */
.smmtoday-buy-now-container {
    margin: 20px 0 0 0;
    text-align: center;
}

.smmtoday-buy-now-button {
    padding: 12px 40px;
    font-size: 15px;
    font-weight: 600;
    border-radius: 8px;
    background: #cbd5e0;
    color: #718096;
    border: none;
    cursor: not-allowed;
    transition: all 0.2s ease;
    min-width: 180px;
}

.smmtoday-buy-now-button.active {
    background: #3182ce;
    color: white;
    cursor: pointer;
}

.smmtoday-buy-now-button.active:hover {
    background: #2c5aa0;
}

/* Responsive */
@media (max-width: 768px) {
    .smm-service-details {
        padding: 16px;
        margin: 8px 0;
    }
    
    .service-details-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .smmtoday-payment-gateways-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .smmtoday-payment-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
}
/**
 * SMM Today - Compact Payment Styles
 * تصميم مدمج بدون مسافات كبيرة
 */

/* Payment Section - مدمج ومنسق */
.smm-payment-integrated {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #e2e8f0;
}

.smmtoday-payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    gap: 10px;
}

.secure-badge {
    font-size: 13px;
    color: #38a169;
    font-weight: 500;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}

.payment-title {
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    color: #2d3748;
}

/* Payment Gateways - مدمج بدون تكرار */
.smmtoday-payment-gateways-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 6px;
    margin-bottom: 12px;
}

.smm-payment-gateway-card {
    background: white;
    border-radius: 6px;
    padding: 8px 6px;
    text-align: center;
    cursor: pointer;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.smm-payment-gateway-card:hover {
    border-color: #805ad5;
}

.smm-payment-gateway-card.active {
    background: #805ad5;
    border-color: #805ad5;
}

.smm-payment-gateway-card.active .gateway-name {
    color: white;
    font-weight: 600;
}

/* إخفاء الأيقونة الإضافية */
.gateway-icon-wrapper {
    display: none !important;
}

.gateway-fallback {
    display: none !important;
}

.gateway-selected-indicator {
    display: none !important;
}

.smm-payment-gateway-card.active::after {
    content: "✓";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 12px;
    height: 12px;
    background: white;
    color: #805ad5;
    border-radius: 50%;
    font-size: 8px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gateway-name {
    font-size: 11px;
    font-weight: 500;
    color: #4a5568;
    margin: 0;
    line-height: 1.2;
}

/* Balance Info - مدمج */
.balance-info {
    text-align: center;
    margin: 8px 0;
    padding: 6px;
    background: #f7fafc;
    border-radius: 4px;
    color: #4a5568;
    font-size: 12px;
    font-weight: 500;
    border: 1px solid #e2e8f0;
}

/* Payment Features - مضغوط */
.payment-features {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 8px 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 400;
    color: #718096;
}

.feature-icon {
    font-size: 12px;
    color: #805ad5;
}

/* Buy Now Button - داخل الإطار */
.smmtoday-buy-now-container {
    margin: 12px 0 0 0;
    text-align: center;
    width: 100%;
}

.smmtoday-buy-now-button {
    padding: 10px 30px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    background: #cbd5e0;
    color: #718096;
    border: none;
    cursor: not-allowed;
    transition: all 0.2s ease;
    min-width: 160px;
    width: auto;
    display: inline-block;
}

.smmtoday-buy-now-button.active {
    background: #3182ce;
    color: white;
    cursor: pointer;
}

.smmtoday-buy-now-button.active:hover {
    background: #2c5aa0;
}

/* Responsive */
@media (max-width: 768px) {
    .smmtoday-payment-header {
        flex-direction: column;
        gap: 6px;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .smmtoday-payment-gateways-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 5px;
    }
    
    .payment-features {
        gap: 8px;
    }
    
}

 
 .smmtoday-buy-now-container {
    margin: 15px 0 0 0;
    text-align: center;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.smmtoday-buy-now-button {
    padding: 16px 50px !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    border-radius: 10px !important;
    background: linear-gradient(45deg, #176d8f, #35a2b5) !important;
    color: #fff !important;
    border: 2px solid #cbd5e0 !important;
    cursor: not-allowed !important;
    transition: all 0.3s ease !important;
    min-width: 250px !important;
    width: 90% !important;
    max-width: 300px !important;
    display: inline-block !important;
	flex-direction: row; /* علشان تبقى في سطر واحد */
}
.smmtoday-buy-now-button.active {
    background: #3182ce;
    color: white;
    cursor: pointer;
    border-color: #3182ce;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
}

.smmtoday-buy-now-button.active:hover {
    background: #2c5aa0;

    box-shadow: 0 6px 20px rgba(49, 130, 206, 0.4);
}




.payment-features {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: 12px 0;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    color: #2d3748;
    background: rgba(255, 255, 255, 0.9);
    padding: 5px 16px;
    border-radius: 10px;
    border: 2px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    min-width: 140px;
    justify-content: center;
}


.feature-icon {
    font-size: 15px;
    color: #805ad5;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1));
}


.secure-badge {
    font-size: 14px;
    color: #b8860b;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #fffaf0, #fffaf0);
    padding: 5px 18px;
    border-radius: 25px;
    border: 1.5px solid #f59e0b;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15);
}

.secure-icon {
    font-size: 16px;
    color: #b8860b;
}




.smm-payment-gateway-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    padding: 10px 6px;
    text-align: center;
    cursor: pointer;
    border: none;
    position: relative;
    min-height: 35px;
    display: flex;
    align-items: center;
    justify-content: center; /* علشان تبقى في المنتصف */
    transition: all 0.3s ease;
}

.gateway-name {
    font-size: 13px;
    font-weight: 600;
    color: #2d3748;
    margin: 0;
    line-height: 1.2;
    padding: 0 6px;
    text-align: center; /* علشان النص يبقى في المنتصف */
}
.smm-payment-gateway-card.active::after {
    content: "✓";
    position: absolute;
    top: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    background: #48bb78;
    color: white;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
    display: flex !important;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(72, 187, 120, 0.5);
    z-index: 10;
}


/* مسافة تحت Secure Payment */
.smmtoday-payment-header {
    margin-bottom: 20px !important;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

/* مسافة تحت بوابات الدفع */
.smmtoday-payment-gateways-grid {
    margin-bottom: 10px !important;
}

/* مسافة تحت ميزات الدفع */
.payment-features {
    margin: 10px 0 !important;
    padding: 15px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}


/* Service Details Header */
.smm-service-details > h3:first-of-type {
    font-size: 14px !important;
    color: #2d774a !important;
    font-weight: 600 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, #f0fff4, #c6f6d5); !important;
    padding: 5px 18px !important;
    border-radius: 25px !important;
    border: 1.5px solid #48bb78 !important;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.15) !important;
    width: fit-content !important;
}

.smm-service-details > h3:first-of-type::before {
    content: "⚙️" !important;
    font-size: 16px !important;
}

/* Order Details Header */
.smm-service-details .order-details-section > h3 {
    font-size: 14px !important;
    color: #2c5aa0 !important;
    font-weight: 600 !important;
    margin: 0 0 20px 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 6px !important;
    background: linear-gradient(135deg, #e3f2fd, #90cdf4); !important;
    padding: 5px 18px !important;
    border-radius: 25px !important;
    border: 1.5px solid #3182ce !important;
    box-shadow: 0 2px 8px rgba(128, 90, 213, 0.15) !important;
    width: fit-content !important;
}

.smm-service-details .order-details-section > h3::before {
    content: "📦" !important;
    font-size: 16px !important;
}



/* مسافات Service Details */
.smm-service-details h3:first-child {
    margin-bottom: 25px !important;
}

.service-details-grid {
    margin-bottom: 25px !important;
    gap: 15px !important;
}

.service-detail-card {
    padding: 15px 10px !important;
}

.service-icon {
    margin-bottom: 12px !important;
}

.service-content h5 {
    margin-top: 8px !important;
    margin-bottom: 8px !important;
}

.service-content p {
    margin-top: 5px !important;
}




/* السهم بين الرقمين بدون ما يتحط في إطار */
.service-detail-card:last-child .service-content p {
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-detail-card:last-child .service-content p::before {
    content: "➡️";
    color: #667eea;
    font-weight: bold;
    font-size: 20px;

    order: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    vertical-align: middle;
}

.service-detail-card:last-child .service-content p .service-min-val {
    order: 1;
}

.service-detail-card:last-child .service-content p .service-max-val {
    order: 3;
}
















/* تنسيقات رسائل التحقق */
.smmtoday-validation-messages .validation-message {
    display: none;
    padding: 12px 16px;
    margin: 10px 0;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    border-left: 4px solid;
    animation: slideIn 0.3s ease;
}

.smmtoday-validation-messages .quantity-error {
    background: #fef2f2;
    border-left-color: #dc2626;
    color: #dc2626;
}

.smmtoday-validation-messages .link-error {
    background: #fffbeb;
    border-left-color: #d97706;
    color: #d97706;
}

.smmtoday-validation-messages .payment-error {
    background: #f0fdf4;
    border-left-color: #16a34a;
    color: #16a34a;
}

.smmtoday-validation-messages .validation-icon {
    margin-right: 8px;
}

/* تأثير اهتزاز الزر */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

#smmtoday-buy-now-btn.shake {
    animation: shake 0.5s ease-in-out;
}

.smmtoday-validation-messages .validation-message.shake {
    animation: slideIn 0.3s ease, shake 0.5s ease-in-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}






