/* iranipay v1.8.3 — designed hero and accessible identity status */
.iranipay-site .ip-hero-inner{
 grid-template-columns:minmax(0,1.12fr) minmax(0,.88fr);
 gap:clamp(30px,4vw,72px); min-height:0;
 padding-top:clamp(62px,6vw,104px);padding-bottom:clamp(65px,7vw,118px);
 align-items:center;
}
.iranipay-site .ip-hero-words{max-width:660px;min-width:0}
.iranipay-site .ip-hero-words .ip-caption{font-size:12px;line-height:1.8;padding:7px 15px}
.iranipay-site .ip-hero h1{
 font-size:clamp(34px,3.55vw,51px);line-height:1.47;letter-spacing:-1.15px;
 margin:24px 0 23px;font-weight:900;text-wrap:balance;
}
.iranipay-site .ip-hero h1 .ip-hero-title-line{display:block;max-width:100%;}
.iranipay-site .ip-hero h1 em.ip-hero-title-line{
 font-style:normal;color:var(--ip-accent);padding-bottom:5px;
}
.iranipay-site .ip-hero-words>p{
 max-width:595px;margin:0;line-height:2.12;font-size:15px;color:var(--ip-title-soft);
}
.iranipay-site .ip-hero-actions{display:flex;gap:12px;align-items:stretch;margin:30px 0 24px;flex-wrap:wrap}
.iranipay-site .ip-hero-actions .ip-btn{min-height:52px;white-space:normal;text-align:center;font-size:14px;padding:12px 17px;border-radius:14px;line-height:1.7}
.iranipay-site .ip-hero-primary-cta{box-shadow:0 14px 30px rgba(11,170,139,.16)}
.iranipay-site .ip-hero-primary-cta>span{font-size:19px;line-height:1}
.iranipay-site .ip-hero-secondary-cta{border-color:var(--edge)}
.iranipay-site .ip-hero-facts{margin-top:22px;gap:12px 20px;flex-wrap:wrap;font-size:12px}
.iranipay-site .ip-hero-facts>span{gap:6px;align-items:center}
.iranipay-site .ip-hero-facts b{font-size:17px}
.iranipay-site .ip-hero-points{gap:12px;margin-top:24px}
.iranipay-site .ip-hero-points>div{padding:15px 17px;box-shadow:0 8px 25px rgba(9,36,49,.04)}
.iranipay-site .ip-hero-card{width:100%;max-width:500px}
.iranipay-site .ip-hero-card-main{transform:none;border-radius:24px}
.iranipay-site .ip-float-tag{transform:none;left:-12px;bottom:-28px}

/* Identity status: separate heading, status and follow-up; only one link. */
.iranipay-site .ip-dashboard-stats .ip-stat.ip-stat-identity{
 display:flex;flex-direction:column;align-items:stretch;gap:0;
 padding:22px 21px;min-width:0;overflow:hidden;
}
.iranipay-site .ip-stat-identity .ip-identity-card-head{
 display:flex;align-items:center;justify-content:space-between;gap:9px;
 padding-bottom:15px;border-bottom:1px solid var(--edge);
}
.iranipay-site .ip-stat-identity .ip-identity-card-head>span:first-child{
 font-size:14px;font-weight:850;color:var(--ip-title);white-space:normal;
}
.iranipay-site .ip-stat-identity .ip-identity-card-icon{
 display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;
 border-radius:11px;background:var(--mint-soft);color:var(--ip-accent);font-size:19px;
}
.iranipay-site .ip-stat-identity .ip-identity-card-body{padding-top:17px;min-width:0;flex:1;display:flex;align-items:flex-start}
.iranipay-site .ip-stat-identity .ip-dashboard-identity-link{
 display:flex;flex-direction:column;align-items:stretch;gap:13px;width:100%;max-width:100%;
 min-width:0;margin:0;padding:0;border:0;border-radius:0;background:transparent;
 color:var(--ip-title);text-decoration:none;text-align:right;line-height:1.6;
}
.iranipay-site .ip-stat-identity .ip-identity-status-badge{
 display:inline-flex;align-items:center;gap:9px;align-self:flex-start;
 max-width:100%;padding:7px 12px;border-radius:11px;
 border:1px solid rgba(6,155,129,.25);background:var(--mint-soft);
 color:var(--ip-accent);font-size:15px;font-weight:900;line-height:1.65;
}
.iranipay-site .ip-stat-identity .ip-identity-status-badge i{
 width:7px;height:7px;background:var(--ip-accent);border-radius:50%;flex:0 0 7px;
}
.iranipay-site .ip-stat-identity .ip-identity-link-caption{
 display:flex;align-items:center;justify-content:space-between;gap:13px;
 width:100%;min-width:0;padding:12px 13px;border:1px solid var(--edge);
 border-radius:12px;background:var(--bg);color:var(--ip-title-soft);
 font-size:12px;line-height:1.85;font-weight:750;overflow-wrap:break-word;
}
.iranipay-site .ip-stat-identity .ip-identity-link-arrow{
 display:grid;place-items:center;flex:0 0 24px;width:24px;height:24px;
 border-radius:7px;background:var(--mint-soft);color:var(--ip-accent);
 font-size:16px;font-weight:900;
}
.iranipay-site .ip-stat-identity .ip-dashboard-identity-link:hover .ip-identity-link-caption,
.iranipay-site .ip-stat-identity .ip-dashboard-identity-link:focus-visible .ip-identity-link-caption{
 border-color:var(--ip-accent);background:var(--mint-soft);color:var(--ip-title);
}
.iranipay-site .ip-stat-identity .ip-identity-static{
 display:flex;flex-direction:column;align-items:flex-start;gap:12px;min-width:0;
}
.iranipay-site .ip-stat-identity .ip-identity-static p{
 font-size:12px;line-height:1.9;color:var(--muted);margin:0;
}
.iranipay-site .ip-stat-identity [data-kyc-state="rejected"] .ip-identity-status-badge,
.iranipay-site .ip-stat-identity [data-kyc-state="suspended"] .ip-identity-status-badge{
 background:rgba(186,73,55,.08);border-color:rgba(186,73,55,.2);color:#b35f4a;
}
.iranipay-site .ip-stat-identity [data-kyc-state="rejected"] .ip-identity-status-badge i,
.iranipay-site .ip-stat-identity [data-kyc-state="suspended"] .ip-identity-status-badge i{background:#b35f4a}
@media(max-width:1020px){
 .iranipay-site .ip-hero-inner{grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:25px}
 .iranipay-site .ip-hero h1{font-size:clamp(31px,3.5vw,42px)}
 .iranipay-site .ip-hero-words>p{font-size:14px}
 .iranipay-site .ip-dashboard-stats .ip-stat.ip-stat-identity{padding:19px 17px}
}
@media(max-width:800px){
 .iranipay-site .ip-hero-inner{grid-template-columns:minmax(0,1fr);padding-top:50px;padding-bottom:80px;gap:35px}
 .iranipay-site .ip-hero-words{max-width:610px}
 .iranipay-site .ip-hero h1{font-size:clamp(32px,5.5vw,45px)}
 .iranipay-site .ip-hero-card{max-width:470px}
}
@media(max-width:580px){
 .iranipay-site .ip-hero h1{font-size:clamp(29px,7.5vw,36px);line-height:1.55;letter-spacing:-.65px}
 .iranipay-site .ip-hero-actions .ip-btn{width:100%;justify-content:center;min-height:50px}
 .iranipay-site .ip-hero-words>p{font-size:14px;line-height:2.1}
 .iranipay-site .ip-hero-points{grid-template-columns:minmax(0,1fr)}
 .iranipay-site .ip-float-tag{position:static;margin-top:12px}
 .iranipay-site .ip-stat-identity .ip-identity-link-caption{font-size:12px}
}
