/* Defense Forms front-end styles — Vandad System */
.df-wrap{max-width:920px;margin:35px auto;padding:0 16px;direction:rtl}.df-card{background:#fff;border:1px solid #e8e8e8;border-radius:18px;box-shadow:0 12px 35px rgba(15,23,42,.08);overflow:hidden}.df-head{padding:28px 30px;background:linear-gradient(135deg,#111820,#1d252e);color:#fff}.df-head h1{margin:0 0 10px;font-size:30px;line-height:1.35}.df-head p{margin:0;color:#e4e4e4;line-height:1.9}.df-form{padding:28px 30px}.df-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}.df-full{grid-column:1/-1}.df-field>label,.df-field>.df-label{display:block;font-weight:700;margin-bottom:7px;color:#20262d}.df-field>label span,.df-field>.df-label>span{color:#c91522;margin-right:3px}.df-field input,.df-field select,.df-field textarea{width:100%;border:1px solid #d9dde3;border-radius:10px;padding:12px 13px;background:#fff;color:#1f2937;box-sizing:border-box;font:inherit;transition:border-color .18s ease,box-shadow .18s ease,background-color .18s ease}.df-field textarea{resize:vertical;min-height:130px;line-height:1.8}.df-field input:hover,.df-field select:hover,.df-field textarea:hover{border-color:#bfc5cc}.df-field input:focus,.df-field select:focus,.df-field textarea:focus{outline:0;border-color:#c91522;box-shadow:0 0 0 3px rgba(201,21,34,.1)}.df-field [aria-invalid=true]{border-color:#b42318;box-shadow:0 0 0 3px rgba(180,35,24,.1)}.df-check{display:flex!important;gap:10px;align-items:flex-start;font-weight:400!important;padding:12px 14px;border:1px solid #e1e4e8;border-radius:10px;background:#fafbfc;cursor:pointer;line-height:1.8}.df-check:hover{border-color:#c9ced5;background:#fff}.df-check input{width:18px;height:18px;flex:0 0 18px;margin:5px 0 0;accent-color:#c91522}.df-check span{min-width:0}.df-submit{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-width:150px;margin-top:22px;border:0;border-radius:10px;background:#c91522;color:#fff;padding:13px 28px;font-weight:800;font-family:inherit;cursor:pointer;box-shadow:0 7px 18px rgba(201,21,34,.2);transition:transform .18s ease,background-color .18s ease,box-shadow .18s ease}.df-submit:hover{background:#a8101b;transform:translateY(-1px);box-shadow:0 9px 22px rgba(201,21,34,.24)}.df-submit:focus-visible{outline:3px solid rgba(201,21,34,.25);outline-offset:3px}.df-submit:disabled{cursor:wait;opacity:.75;transform:none}.df-submit-spinner{display:none;width:17px;height:17px;border:2px solid rgba(255,255,255,.42);border-top-color:#fff;border-radius:50%;animation:df-spin .75s linear infinite}.df-submit.is-loading .df-submit-spinner{display:inline-block}@keyframes df-spin{to{transform:rotate(360deg)}}.df-hp{position:absolute!important;inset:0 auto auto 0!important;width:1px!important;height:1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap;opacity:0;pointer-events:none}

/* Jalali date picker */
.df-date-wrap{position:relative}.df-date-wrap .df-jalali-date{padding-left:54px;text-align:center;direction:ltr;font-variant-numeric:tabular-nums;letter-spacing:.4px}.df-date-button{position:absolute;left:5px;top:5px;bottom:5px;width:42px;border:1px solid #ead5d7;border-radius:8px;background:#fff5f6;color:#b51220;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:background-color .18s ease,border-color .18s ease,transform .18s ease}.df-date-button:hover{background:#fce8ea;border-color:#dcaeb3;transform:translateY(-1px)}.df-date-button:focus-visible{outline:3px solid rgba(201,21,34,.15);outline-offset:1px}.df-date-button[aria-expanded=true]{background:#c91522;border-color:#c91522;color:#fff}.df-date-icon{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.df-date-range{display:block;margin-top:6px;color:#6b7280;font-size:12px}.df-jalali-popup{position:absolute;z-index:100000;background:#fff;border:1px solid #dfe3e8;border-radius:14px;box-shadow:0 18px 45px rgba(15,23,42,.2);padding:12px;font-family:inherit;box-sizing:border-box;direction:rtl;animation:df-pop .14s ease-out}@keyframes df-pop{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.df-jdp-head{display:grid;grid-template-columns:38px minmax(0,1fr) 38px;align-items:center;gap:7px;margin-bottom:10px}.df-jdp-selects{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(88px,.8fr);gap:6px;min-width:0}.df-jdp-selects select{width:100%;min-width:0;height:38px;border:1px solid #dfe3e8;border-radius:8px;background:#fff;padding:4px 8px;font-family:inherit;font-size:13px;color:#1f2937;cursor:pointer;text-align:center}.df-jdp-selects select:focus{outline:0;border-color:#c91522;box-shadow:0 0 0 3px rgba(201,21,34,.1)}.df-jdp-nav,.df-jdp-foot button{border:0;border-radius:8px;background:#f1f3f5;cursor:pointer;padding:8px;font-family:inherit;color:#20262d}.df-jdp-nav{height:38px;font-size:24px;line-height:1;display:flex;align-items:center;justify-content:center}.df-jdp-nav:hover,.df-jdp-foot button:hover{background:#e7eaee}.df-jdp-nav:disabled{opacity:.35;cursor:not-allowed}.df-jdp-range{text-align:center;font-size:11px;color:#6b7280;margin:-4px 0 8px}.df-jdp-week,.df-jdp-days{display:grid;grid-template-columns:repeat(7,1fr);gap:4px;text-align:center}.df-jdp-week{font-size:12px;color:#6b7280;margin-bottom:5px}.df-jdp-week span{padding:5px 0}.df-jdp-days button{aspect-ratio:1;border:0;border-radius:9px;background:transparent;cursor:pointer;font-family:inherit;color:#27313b}.df-jdp-days button:hover{background:#f5e8ea}.df-jdp-days button.is-today{outline:1px solid #d7a21b}.df-jdp-days button.is-selected{background:#c91522;color:#fff;outline:0}.df-jdp-foot{display:flex;justify-content:space-between;gap:8px;border-top:1px solid #edf0f2;margin-top:9px;padding-top:9px}.df-jdp-foot button{flex:1}

/* Approved clubs public list */
.df-clubs-wrap{max-width:1180px}.df-clubs-card{overflow:visible}.df-clubs-head{display:flex;align-items:center;justify-content:space-between;gap:22px;border-radius:18px 18px 0 0}.df-clubs-head>div{min-width:0}.df-clubs-head h1{margin-bottom:8px}.df-club-register{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;padding:12px 18px;border-radius:10px;background:#d89a16;color:#151515!important;font-weight:800;text-decoration:none}.df-club-register:hover{background:#efb733}.df-clubs-table-wrap{padding:24px 26px;overflow-x:auto}.df-clubs-table{width:100%;border-collapse:separate;border-spacing:0;min-width:1120px;border:1px solid #e4e7eb;border-radius:12px;overflow:hidden}.df-clubs-table th,.df-clubs-table td{padding:14px 12px;text-align:right;border-bottom:1px solid #eceef1;border-inline-end:1px solid #eceef1;vertical-align:middle}.df-clubs-table th:last-child,.df-clubs-table td:last-child{border-inline-end:0}.df-clubs-table thead th{background:#f5f6f8;color:#1d252e;font-size:13px;white-space:nowrap}.df-clubs-table tbody tr:last-child td{border-bottom:0}.df-clubs-table tbody tr:hover td{background:#fffaf0}.df-clubs-table td:first-child{font-weight:800;color:#b51220}.df-clubs-note{margin:0 26px 26px;padding:14px 16px;border:1px solid #f0d69c;border-radius:10px;background:#fff9eb;line-height:1.9}.df-empty{margin:26px;padding:24px;border:1px dashed #cfd4da;border-radius:12px;text-align:center;color:#69727d;background:#fafbfc}

@media(max-width:760px){.df-clubs-head{align-items:stretch;flex-direction:column}.df-club-register{width:100%;box-sizing:border-box}.df-clubs-table-wrap{padding:16px}.df-clubs-table{min-width:0;border:0}.df-clubs-table thead{display:none}.df-clubs-table,.df-clubs-table tbody,.df-clubs-table tr,.df-clubs-table td{display:block;width:100%;box-sizing:border-box}.df-clubs-table tr{margin-bottom:14px;border:1px solid #e4e7eb;border-radius:12px;overflow:hidden;background:#fff}.df-clubs-table td{display:grid;grid-template-columns:115px minmax(0,1fr);gap:10px;border-inline-end:0!important;padding:11px 13px}.df-clubs-table td::before{content:attr(data-label);font-weight:800;color:#555}.df-clubs-table tbody tr:last-child td{border-bottom:1px solid #eceef1}.df-clubs-table tbody tr:last-child td:last-child,.df-clubs-table tr td:last-child{border-bottom:0}.df-clubs-note{margin:0 16px 18px}}
@media(max-width:650px){.df-grid{grid-template-columns:1fr}.df-full{grid-column:auto}.df-form,.df-head{padding:22px 18px}.df-head h1{font-size:25px}.df-submit{width:100%}}
@media(max-width:380px){.df-jdp-selects{grid-template-columns:1fr}.df-jdp-head{align-items:stretch}.df-jdp-nav{height:auto}}
@media(prefers-reduced-motion:reduce){.df-submit,.df-date-button,.df-jalali-popup{transition:none;animation:none}.df-submit-spinner{animation-duration:1.5s}}

/* Dedicated coach/class registration */
.df-club-form-wrap{max-width:980px}.df-club-form{background:#f8fafc}.df-form-section{padding:20px;border:1px solid #e6e9ee;border-radius:15px;background:#fff;margin-bottom:20px}.df-section-heading{display:flex;align-items:flex-start;gap:13px;margin-bottom:18px}.df-section-heading h2{font-size:20px;margin:1px 0 5px;color:#171d24}.df-section-heading p{margin:0;color:#66717d;line-height:1.8;font-size:14px}.df-section-number{display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;flex:0 0 34px;border-radius:11px;background:#8d1322;color:#fff;font-weight:900;box-shadow:0 5px 13px rgba(141,19,34,.18)}.df-class-list{display:grid;gap:16px}.df-class-item{border:1px solid #e4e7ec;border-radius:14px;padding:18px;background:linear-gradient(180deg,#fff,#fbfcfd);box-shadow:0 5px 15px rgba(15,23,42,.04)}.df-class-toolbar{display:flex;justify-content:space-between;align-items:center;gap:15px;margin-bottom:16px;padding-bottom:13px;border-bottom:1px solid #edf0f3}.df-class-kicker{display:block;color:#9b6d08;font-size:11px;font-weight:900;margin-bottom:2px}.df-class-toolbar h3{margin:0;font-size:18px;color:#17202a}.df-remove-class{border:1px solid #f0c7cc;background:#fff6f7;color:#a81625;border-radius:9px;padding:8px 11px;font-family:inherit;font-weight:700;cursor:pointer}.df-remove-class:hover{background:#fcebed}.df-class-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.df-address-field{grid-column:1/-1}.df-day-field{border:0;padding:0;margin:0;min-width:0}.df-day-field legend{font-weight:700;margin-bottom:7px;color:#20262d}.df-day-field legend span{color:#c91522}.df-radio-pills{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.df-radio-pills label{position:relative;cursor:pointer}.df-radio-pills input{position:absolute;opacity:0;pointer-events:none}.df-radio-pills span{display:flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #d9dde3;border-radius:10px;background:#fff;font-weight:800;transition:.18s ease}.df-radio-pills input:checked+span{border-color:#8d1322;background:#8d1322;color:#fff;box-shadow:0 5px 14px rgba(141,19,34,.18)}.df-radio-pills input:focus-visible+span{outline:3px solid rgba(141,19,34,.17);outline-offset:2px}.df-add-class{display:inline-flex;align-items:center;gap:7px;margin-top:16px;border:1px dashed #b78a21;border-radius:10px;background:#fffbf0;color:#735400;padding:11px 15px;font-family:inherit;font-weight:900;cursor:pointer}.df-add-class:hover{background:#fff3ce}.df-add-class:disabled{opacity:.5;cursor:not-allowed}.df-region-field[hidden]{display:none!important}

/* Province classes search and cards */
.df-club-search{margin:24px 26px 0;padding:20px;border:1px solid #e5e8ed;border-radius:14px;background:#f8fafc}.df-search-heading{display:flex;align-items:center;justify-content:space-between;gap:15px;margin-bottom:16px}.df-search-heading h2{font-size:20px;margin:0 0 4px;color:#17202a}.df-search-heading p{margin:0;color:#66717d}.df-result-count{display:inline-flex;align-items:center;justify-content:center;white-space:nowrap;padding:7px 11px;border-radius:999px;background:#fff;border:1px solid #e0e4e9;color:#8d1322;font-weight:800}.df-search-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}.df-search-actions{display:flex;align-items:center;gap:10px;margin-top:14px}.df-search-submit{border:0;border-radius:9px;background:#8d1322;color:#fff;padding:11px 22px;font-family:inherit;font-weight:900;cursor:pointer}.df-search-submit:hover{background:#71101b}.df-search-reset{display:inline-flex;align-items:center;justify-content:center;border:1px solid #d8dde3;border-radius:9px;background:#fff;color:#374151!important;text-decoration:none;padding:10px 15px;font-weight:700}.df-class-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;padding:24px 26px}.df-class-card{border:1px solid #e3e6eb;border-radius:15px;background:#fff;padding:18px;box-shadow:0 7px 20px rgba(15,23,42,.05);transition:transform .18s ease,box-shadow .18s ease,border-color .18s ease}.df-class-card:hover{transform:translateY(-2px);border-color:#dac896;box-shadow:0 12px 26px rgba(15,23,42,.08)}.df-class-card-head{display:flex;align-items:center;gap:12px;padding-bottom:14px;border-bottom:1px solid #edf0f3}.df-coach-avatar{display:flex;align-items:center;justify-content:center;width:46px;height:46px;flex:0 0 46px;border-radius:13px;background:linear-gradient(135deg,#8d1322,#4d0c16);color:#fff;font-size:20px;font-weight:900}.df-class-card-head h2{font-size:18px;line-height:1.5;margin:0 0 3px;color:#151c23}.df-class-card-head p{margin:0;color:#7a5a0b;font-size:13px;font-weight:700}.df-class-meta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px;margin:15px 0 0}.df-class-meta>div{min-width:0}.df-class-meta dt{font-size:12px;color:#727d88;margin-bottom:4px}.df-class-meta dd{margin:0;color:#1d2731;font-weight:700;line-height:1.75}.df-meta-address{grid-column:1/-1;padding-top:10px;border-top:1px dashed #e2e5e9}.df-day-badge{display:inline-flex;padding:4px 10px;border-radius:999px;background:#fff5dc;color:#765500;border:1px solid #eed89e;font-size:13px}

@media(max-width:980px){.df-search-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:720px){.df-class-grid,.df-class-results{grid-template-columns:1fr}.df-address-field{grid-column:auto}.df-class-results{padding:16px}.df-club-search{margin:16px 16px 0}.df-search-heading{align-items:flex-start}.df-class-toolbar{align-items:flex-start}.df-form-section{padding:16px}}
@media(max-width:560px){.df-search-grid{grid-template-columns:1fr}.df-search-actions{align-items:stretch;flex-direction:column}.df-search-submit,.df-search-reset{width:100%;box-sizing:border-box}.df-class-meta{grid-template-columns:1fr}.df-meta-address{grid-column:auto}.df-search-heading{flex-direction:column}.df-result-count{align-self:flex-start}}


/* Submission confirmation */
.df-success-card {
    max-width: 720px;
    margin: 36px auto;
    padding: clamp(28px, 5vw, 54px);
    border: 1px solid rgba(122, 17, 32, .14);
    border-radius: 24px;
    background: linear-gradient(145deg, #fff 0%, #fffaf2 100%);
    box-shadow: 0 20px 55px rgba(31, 41, 55, .12);
    text-align: center;
}
.df-success-icon {
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #e8f7ee;
    color: #18733d;
    box-shadow: inset 0 0 0 8px rgba(24, 115, 61, .08);
}
.df-success-icon svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.df-success-card h1 { margin: 0 0 16px; color: #69101f; font-size: clamp(1.45rem, 3vw, 2rem); }
.df-success-message { margin: 0 auto 14px; max-width: 590px; color: #263241; font-size: 1.05rem; line-height: 2; }
.df-success-note { margin: 0 0 24px; color: #687386; font-size: .94rem; }
.df-success-home {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 24px;
    border-radius: 12px;
    background: #7a1120;
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 8px 20px rgba(122, 17, 32, .2);
}
.df-success-home:hover, .df-success-home:focus { background: #5f0c18; transform: translateY(-1px); }
