/**
 * استایل‌های نسخهٔ جدید – همهٔ شورت‌کدهای جدید
 * کلاس‌ها و ایدی‌ها با پیشوند adsc-new- تا با شورت‌کدهای قبلی تداخل نداشته باشن.
 */

/* ==========================================================================
   [new-calculate-card] – ماشین‌حساب جدید (طراحی جدید)
   ========================================================================== */

   *{
      font-family: "YekanBakh", "IRANSansX", Sans-serif;
    }

.adsc-new {
    font-family: "IRANSansWeb(FaNum)", Sans-serif;
    direction: rtl;
    width: 100%;
    max-width: 100%;
    min-height: 420px;
    padding: 2rem 2.5rem;
    border-radius: 24px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    gap: 2.5rem;
    box-sizing: border-box;
    /* background-color: #e8ecf4; */
    background-image: url('https://alikhakpourdev.ir/wp-content/uploads/2026/02/bgtarif-scaled.png');
    background-size: cover;
    background-position: center;
}

.adsc-new-header {
    width: 42%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: right;
    gap:15px !important;
}

.adsc-new-logo-wrap {
    margin-bottom: 1rem;
}

.adsc-new-logo {
    display: block;
    height: auto;
    max-width: 140px;
}

.adsc-new-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #142b5f;
    margin: 0 0 0.35rem 0;
    line-height: 1.4;
}

.adsc-new-brand {
    color: #42d1c0;
}

a.adsc-new-charge-btn {
    font-weight: 500;
}

.adsc-new-subtitle {
    font-size: 1.05rem;
    font-weight: 500;
    color: #142b5f;
    margin: 0 0 0.75rem 0;
    opacity: 0.95;
}

.adsc-new-request-time {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

.adsc-new-body {
    width: 58%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.adsc-new-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    width: 100%;
}

/* دکمه‌های نوع سرویس (اختصاصی / مدیریت شده) */
.adsc-new-services {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
}

.adsc-new-radio {
    position: absolute;
    opacity: 0;
    pointer-events: none;
    width: 0;
    height: 0;
}

.adsc-new-service-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.25rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    color: #fff;
    background-color: #142b5f;
    border: 2px solid #142b5f;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s;
}

.adsc-new-service-btn:not(.active) {
    background-color: transparent;
    color: #142b5f;
    border-color: #142b5f;
}

.adsc-new-service-btn.active {
    background-color: #142b5f;
    color: #fff;
}

.adsc-new-service-btn:hover {
    opacity: 0.9;
}

/* کارت‌های انتخاب ارز */
.adsc-new-currencies {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.adsc-new-currency-card {
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1rem;
    border-radius: 12px;
    background-color: #f1f5f9;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.adsc-new-currency-card:hover {
    background-color: #e2e8f0;
}

.adsc-new-currency-card.active {
    background-color: #cbd5e1;
    border-color: #142b5f;
    box-shadow: 0 0 0 1px #142b5f;
}

.adsc-new-currency-flag {
    width: 24px;
    height: 24px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
}

.adsc-new-currency-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: #475569;
    flex: 1;
    text-align: right;
}

.adsc-new-currency-value {
    font-size: 0.85rem;
    font-weight: 500;
    color: #64748b;
}

/* ورودی مقدار شارژ */
.adsc-new-input-label {
    font-size: 0.9rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: -0.5rem;
}

.adsc-new-input {
    width: 100%;
    max-width: 100%;
    padding: 1rem 1.15rem;
    font-size: 1.15rem;
    font-weight: 500;
    font-family: 'yekan bakh' !important;
    color: #142b5f;
    text-align: center;
    border: 2px solid #cbd5e1;
    border-radius: 12px !important;
    border-style:none !important;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.adsc-new-input:focus {
    outline: none;
    border-color: #142b5f;
}

.adsc-new-input::placeholder {
    color: #94a3b8;
    font-weight: 500;
}

/* نتیجه و خطا */
.adsc-new-output-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
}

.adsc-new-input-label{
    display:none !important;
}

.adsc-new-output {
    font-size: 1.35rem;
    font-weight: 500;
    color: #142b5f;
}

.adsc-new-output-error {
    font-size: 0.875rem;
    font-weight: 500;
    color: #dc2626;
}

/* دکمه ثبت سفارش */
.adsc-new-charge-btn {
    display: none;
    padding: 0.75rem 1.5rem;
    border-radius: 12px;
    font-weight: 500;
    font-size: 1rem;
    text-align: center;
    text-decoration: none;
    color: #fff;
    background-color: #142b5f;
    border: none;
    cursor: pointer;
    transition: background-color 0.2s, opacity 0.2s;
}

.adsc-new-charge-btn:hover {
    background-color: #1e3a6e;
    color: #fff;
}

.adsc-new-charge-btn-text {
    display: none;
    font-size: 0.8rem;
    color: #64748b;
    margin: 0.25rem 0 0 0;
    text-align:center !important;
}

/* ریسپانسیو */
@media only screen and (max-width: 768px) {
    .adsc-new {
        flex-direction: column;
        align-items: center;
        padding: 1.5rem 1.25rem;
        min-height: auto;
    }

    .adsc-new-header {
        width: 100%;
        align-items: center;
        text-align: center;
    }

    .adsc-new-body {
        width: 100%;
    }

    .adsc-new-title {
        font-size: 1.3rem;
		font-weight: 500 !important;
    }

	h2.adsc-new-title {
    font-weight: 500 !important;
}

    .adsc-new-currencies {
        flex-direction: column;
    }

    .adsc-new-currency-card {
        min-width: 100%;
    }
}

@media only screen and (max-width: 480px) {
    .adsc-new-services {
        flex-direction: column;
    }
}

/* ==========================================================================
   بعداً استایل شورت‌کدهای جدید دیگه اینجا اضافه می‌شن.
   ========================================================================== */
