/* ══════════════════════════════════════════════
   Arshia License Renewal — Front-end styles
   Brand: purple #352070 + gold #EEBB66
   ══════════════════════════════════════════════ */

.arshia-lr-wrap,
.arshia-lr-pay {
    font-family: 'Vazirmatn', Tahoma, sans-serif;
    direction: rtl;
    --lr-purple: #352070;
    --lr-purple-dark: #2a1a5a;
    --lr-gold: #EEBB66;
    --lr-gold-light: #f5cc85;
    --lr-border: #e8e6f0;
}

.arshia-lr-hero {
    background: linear-gradient(135deg, var(--lr-purple), var(--lr-purple-dark));
    border-radius: 18px;
    padding: 32px 28px;
    color: #fff;
    margin-bottom: 24px;
    text-align: center;
}

.arshia-lr-hero h1 {
    margin: 0 0 8px;
    font-size: 25px;
    font-weight: 900;
    color: #fff;
}

.arshia-lr-hero p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, .78);
    line-height: 1.9;
}

.arshia-lr-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 18px;
}

.arshia-lr-card {
    background: #fff;
    border: 1px solid var(--lr-border);
    border-radius: 15px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.arshia-lr-card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
}

.arshia-lr-card-title {
    margin: 0;
    font-size: 16.5px;
    font-weight: 800;
    color: var(--lr-purple);
    line-height: 1.5;
}

.arshia-lr-status {
    font-size: 11.5px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.arshia-lr-status.is-ok { background: #e6f6ec; color: #166534; }
.arshia-lr-status.is-warn { background: #fff3d6; color: #8a6100; }
.arshia-lr-status.is-deny { background: #fdeaea; color: #991b1b; }

.arshia-lr-meta {
    list-style: none;
    margin: 0;
    padding: 12px 0 0;
    border-top: 1px dashed var(--lr-border);
    display: grid;
    gap: 7px;
    font-size: 12.5px;
}

.arshia-lr-meta li {
    color: #7a7a8c;
    display: flex;
    gap: 6px;
    align-items: baseline;
    flex-wrap: wrap;
}

.arshia-lr-meta strong { color: #2d3436; font-weight: 700; }
.arshia-lr-meta code {
    font-size: 11px;
    background: #f2f0f9;
    padding: 2px 7px;
    border-radius: 6px;
    color: var(--lr-purple);
    letter-spacing: .5px;
}

.arshia-lr-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 2px;
}

.arshia-lr-price {
    font-size: 13px;
    font-weight: 700;
    color: var(--lr-purple);
    background: #f7f5fd;
    padding: 6px 14px;
    border-radius: 20px;
}

.arshia-lr-note {
    font-size: 12px;
    color: #b45309;
    line-height: 1.8;
}

/* ---------- Buttons ---------- */
.arshia-lr-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 11px 24px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 700;
    font-family: inherit;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: background .2s, color .2s, border-color .2s;
    text-align: center;
}

.arshia-lr-btn.is-primary {
    background: var(--lr-purple);
    color: #fff;
    border-color: var(--lr-purple);
}

.arshia-lr-btn.is-primary:hover {
    background: var(--lr-gold);
    color: #1a1a2e;
    border-color: var(--lr-gold);
}

.arshia-lr-btn.is-lg { padding: 13px 32px; font-size: 15px; }

.arshia-lr-login-required,
.arshia-lr-empty {
    background: #faf9fd;
    border: 1px dashed var(--lr-border);
    border-radius: 14px;
    padding: 32px 22px;
    text-align: center;
    font-size: 14px;
    color: #77778a;
    line-height: 2;
}

.arshia-lr-empty .arshia-lr-btn,
.arshia-lr-login-required .arshia-lr-btn { margin-top: 12px; }

/* ---------- Pay form ---------- */
.arshia-lr-pay {
    background: #fff;
    border: 1px solid var(--lr-border);
    border-radius: 16px;
    padding: 28px;
    max-width: 720px;
    margin: 0 auto;
}

.arshia-lr-pay h2 {
    margin: 0 0 14px;
    font-size: 20px;
    font-weight: 800;
    color: var(--lr-purple);
}

.arshia-lr-pay-form {
    margin-top: 18px;
}

.arshia-lr-months {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin: 10px 0 22px;
}

.arshia-lr-month {
    position: relative;
    border: 1.5px solid var(--lr-border);
    border-radius: 12px;
    padding: 12px 10px;
    text-align: center;
    cursor: pointer;
    transition: border-color .2s, background .2s;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 13.5px;
    font-weight: 700;
    color: #444;
}

.arshia-lr-month input { position: absolute; opacity: 0; }

.arshia-lr-month small {
    font-size: 11.5px;
    font-weight: 600;
    color: #8a8a99;
}

.arshia-lr-month:hover { border-color: var(--lr-purple); }

.arshia-lr-month.is-selected {
    border-color: var(--lr-purple);
    background: #faf8ff;
    color: var(--lr-purple);
}

.arshia-lr-month.is-selected small { color: var(--lr-purple); }

.arshia-lr-btn.is-lg { width: 100%; }

/* ---------- Result ---------- */
.arshia-lr-result {
    background: #fff;
    border-radius: 16px;
    padding: 40px 28px;
    text-align: center;
    max-width: 560px;
    margin: 0 auto;
}

.arshia-lr-result h2 { margin: 0 0 14px; font-size: 21px; font-weight: 800; }

.arshia-lr-result p { color: #555; font-size: 14.5px; line-height: 2; margin: 0 0 8px; }
.arshia-lr-result .arshia-lr-btn { margin-top: 18px; }

.arshia-lr-result.is-ok { border: 1px solid #bde5cb; }
.arshia-lr-result.is-ok h2 { color: #166534; }
.arshia-lr-result.is-error { border: 1px solid #f5c7c7; }
.arshia-lr-result.is-error h2 { color: #991b1b; }

/* ---------- Notice ---------- */
.arshia-lr-notice {
    padding: 13px 18px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.9;
    margin: 12px 0;
}

.arshia-lr-notice.is-success { background: #e6f6ec; color: #166534; border: 1px solid #bde5cb; }
.arshia-lr-notice.is-error { background: #fdeaea; color: #991b1b; border: 1px solid #f5c7c7; }
.arshia-lr-notice.is-info { background: #eef4ff; color: #1e40af; border: 1px solid #c7dbff; }

/* ---------- Pills ---------- */
.arshia-lr-pill {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    background: #f1f0f5;
    color: #6b6b7b;
}

.arshia-lr-pill.is-ok { background: #e6f6ec; color: #166534; }
.arshia-lr-pill.is-warn { background: #fff3d6; color: #8a6100; }
.arshia-lr-pill.is-deny { background: #fdeaea; color: #991b1b; }

/* ---------- Admin ---------- */
.arshia-lr-admin .arshia-lr-stat-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 14px;
    margin: 18px 0 24px;
    max-width: 1100px;
}

.arshia-lr-admin .arshia-lr-stat {
    background: #fff;
    border: 1px solid #e3e1ec;
    border-radius: 12px;
    padding: 16px 18px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.arshia-lr-admin .arshia-lr-stat .num { font-size: 26px; font-weight: 800; color: #352070; line-height: 1.2; }
.arshia-lr-admin .arshia-lr-stat .lbl { font-size: 12.5px; color: #77778a; }
.arshia-lr-admin .arshia-lr-stat.is-warn .num { color: #b45309; }
.arshia-lr-admin .arshia-lr-stat.is-deny .num { color: #991b1b; }

.arshia-lr-admin-cols {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 18px;
    max-width: 1100px;
}

.arshia-lr-admin-box {
    background: #fff;
    border: 1px solid #e3e1ec;
    border-radius: 12px;
    padding: 18px 20px;
    margin-bottom: 18px;
    max-width: 1100px;
}

.arshia-lr-admin-box h2 { margin: 0 0 12px; font-size: 16px; color: #352070; }

.arshia-lr-admin h2 { color: #352070; }

.ltr { direction: ltr; text-align: left; }

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
    .arshia-lr-months { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .arshia-lr-months { grid-template-columns: 1fr; }
    .arshia-lr-grid { grid-template-columns: 1fr; }
    .arshia-lr-card-foot { flex-direction: column; align-items: stretch; text-align: center; }
}