/* Sepahan Gostar — "log in with sepahansms account" box (sg-sms-login v1) */
.sgs-box{clear:both;margin:28px 0 8px;font-family:var(--sg-font,Vazirmatn,Tahoma,sans-serif);direction:rtl}
.sgs-box *{box-sizing:border-box}
.sgs-box details{border:1px solid var(--sg-line,#e5e9e7);border-radius:20px;background:#fff;box-shadow:0 1px 2px rgba(16,29,35,.04),0 10px 30px rgba(16,29,35,.07);overflow:hidden}
.sgs-box summary{display:flex;align-items:center;gap:16px;padding:20px 24px;cursor:pointer;list-style:none}
.sgs-box summary::-webkit-details-marker{display:none}
.sgs-box .sgs-ico{display:grid;place-items:center;flex:0 0 48px;height:48px;border-radius:14px;background:var(--sg-ink,#142127);color:var(--sg-mint,#a2e2d8)}
.sgs-box .sgs-ico svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.9;stroke-linecap:round;stroke-linejoin:round}
.sgs-box .sgs-head{flex:1;min-width:0}
.sgs-box .sgs-head b{display:block;font-size:16.5px;font-weight:800;color:var(--sg-ink,#142127);line-height:1.8}
.sgs-box .sgs-head small{display:block;font-size:13.5px;color:var(--sg-muted,#65737b);line-height:1.9}
.sgs-box .sgs-chev{flex-shrink:0;padding:8px 16px;border-radius:12px;background:var(--sg-tint,#eef5f4);color:var(--sg-teal-d,#2b6670);font-size:13.5px;font-weight:700}
.sgs-box details[open] .sgs-chev{display:none}
.sgs-body{padding:4px 24px 24px;border-top:1px solid var(--sg-line,#e5e9e7)}
.sgs-body [hidden]{display:none!important}
.sgs-grid{display:grid;grid-template-columns:1fr 1fr;gap:14px 16px;margin-top:18px;align-items:end}
.sgs-body label{display:block;margin:0;font-size:13.5px;font-weight:700;color:var(--sg-ink,#142127);line-height:1.9}
.sgs-body label small{display:block;font-weight:400;color:var(--sg-muted,#65737b);font-size:12px;line-height:1.8}
.sgs-body input{display:block;width:100%;min-height:46px;margin-top:6px;padding:10px 14px;border:1px solid #d6dedc;border-radius:12px;background:#fbfcfb;font-family:inherit;font-size:15px;color:var(--sg-ink,#142127);box-shadow:none}
.sgs-body input:focus{outline:0;border-color:var(--sg-teal,#397f89);background:#fff;box-shadow:0 0 0 4px rgba(57,127,137,.14)}
.sgs-captcha-row{display:flex;gap:10px;align-items:center;margin-top:6px}
.sgs-captcha-row input{flex:1;min-width:0;margin-top:0;text-align:center;letter-spacing:4px}
.sgs-captcha-img{display:grid;place-items:center;flex:0 0 140px;height:46px;border:1px solid var(--sg-line,#e5e9e7);border-radius:12px;background:#f7f8f6;overflow:hidden;font-size:12px;color:var(--sg-muted,#65737b)}
.sgs-captcha-img img{display:block;width:100%;height:100%;object-fit:contain;margin:0!important}
.sgs-refresh{display:grid;place-items:center;flex:0 0 46px;height:46px;border:1px solid var(--sg-line,#e5e9e7);border-radius:12px;background:#fff;color:var(--sg-ink,#142127);cursor:pointer}
.sgs-refresh svg{width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.sgs-alert{margin:16px 0 0;padding:11px 14px;border-radius:12px;background:#fdeeef;color:#a5212b;font-size:14px;font-weight:600;line-height:1.9}
.sgs-btn{display:inline-flex;align-items:center;justify-content:center;width:100%;min-height:50px;margin-top:18px;padding:11px 24px;border:0;border-radius:14px;background:var(--sg-ink,#142127);color:#fff;font-family:inherit;font-size:15px;font-weight:800;cursor:pointer;transition:background .2s}
.sgs-btn:hover{background:var(--sg-teal,#397f89)}
.sgs-btn:disabled{opacity:.6;cursor:wait}
.sgs-note{margin:14px 0 0;font-size:12.5px;color:var(--sg-muted,#65737b);line-height:1.9}
.sgs-otp{max-width:360px;margin:18px auto 0;text-align:center}
.sgs-otp input{max-width:220px;margin:8px auto 6px;text-align:center;font-size:22px;font-weight:800;letter-spacing:8px;direction:ltr}
.sgs-timer{display:block;font-size:13px;color:var(--sg-muted,#65737b)}
.sgs-links{display:flex;justify-content:center;gap:18px;margin-top:10px}
.sgs-link{border:0;background:none;padding:4px;color:var(--sg-teal-d,#2b6670);font-family:inherit;font-size:14px;font-weight:700;cursor:pointer}
.sgs-link:disabled{color:var(--sg-muted,#65737b);cursor:default}
.sgs-done{padding:20px 0 4px;text-align:center;font-weight:700;color:var(--sg-ink,#142127)}
@media (max-width:767px){
  .sgs-box summary{padding:16px;flex-wrap:wrap}
  .sgs-box .sgs-chev{width:100%;text-align:center}
  .sgs-body{padding:4px 16px 18px}
  .sgs-grid{grid-template-columns:1fr}
  .sgs-captcha-img{flex-basis:118px}
}
