#admin-referral-table table{width:100%;table-layout:fixed;font-size:13px}#admin-referral-table th,#admin-referral-table td{white-space:normal;overflow-wrap:anywhere;padding:12px!important;vertical-align:top}#admin-referral-table td button{display:block;width:100%;white-space:normal;margin-bottom:8px}#referrals-view .product-form-actions{display:flex;align-items:center;justify-content:flex-end;gap:12px}#referrals-view .product-form-actions button{width:auto}#admin-referral-tabs{margin:18px 0}#admin-referral-search{display:flex;gap:12px;align-items:end}#admin-referral-search label{flex:1}#admin-referral-search button{width:auto}.referral-resolve{width:min(560px,calc(100vw - 32px));background:#181e22;color:#edf2f5;border:1px solid #394249;border-radius:18px;padding:28px}.referral-resolve::backdrop{background:#0009}.referral-resolve p{white-space:normal;overflow-wrap:anywhere;line-height:1.8;color:#bfc8cd}.referral-resolve label{display:flex;flex-direction:column;gap:8px}.referral-resolve textarea{width:100%;box-sizing:border-box;background:#10171b;color:#fff;border:1px solid #394249;border-radius:8px;padding:12px;resize:vertical}.referral-resolve form>div{display:flex;gap:12px;justify-content:flex-end;margin-top:20px}.referral-resolve form>div button{width:auto}
@media(max-width:700px){#admin-referral-table table{min-width:760px}#admin-referral-search{flex-wrap:wrap}#admin-referral-tabs{max-width:100%;flex-wrap:wrap}}

.exclusive-table{overflow-x:auto;margin-top:20px}.exclusive-table table{width:100%;min-width:760px}.exclusive-table th,.exclusive-table td{padding:14px;overflow-wrap:anywhere;vertical-align:top}#exclusive-view .product-form-actions{display:flex;gap:12px;align-items:center;justify-content:flex-end}#exclusive-view button{width:auto}#exclusive-search{display:flex;gap:12px;align-items:end}#exclusive-search label{flex:1}#exclusive-total{padding:16px;background:#172c29;border-radius:10px;color:#b5efda}#exclusive-activity{line-height:1.7}

.festival-options{display:flex;flex-wrap:wrap;gap:24px}#festival-view h3{margin-top:24px;font-size:17px}#festival-view .product-form-actions{display:flex;gap:14px;justify-content:flex-end}#festival-view button{width:auto}#festival-view textarea{width:100%;box-sizing:border-box}#festival-state{padding:12px;border:1px solid #384a40;border-radius:10px}

/* Promotion settings follow the existing dark admin form controls. */
#festival-view .form-body{gap:18px;padding:22px}#festival-view .form-body>label{gap:8px}
#festival-view textarea{display:block;width:100%;min-height:88px;box-sizing:border-box;resize:vertical;padding:11px 13px;border:1px solid #374149;border-radius:8px;background:#10161a;color:#edf1f3;font:inherit;line-height:1.7;outline:none;transition:border-color .15s,box-shadow .15s}
#festival-view textarea:focus{border-color:var(--accent);box-shadow:0 0 0 3px rgba(242,162,13,.1)}
#festival-view .product-catalog-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.festival-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.festival-setting-group{display:grid;align-content:start;gap:14px;min-width:0;padding:18px;border:1px solid #303a41;border-radius:10px;background:#131a1e}
#festival-view .festival-setting-group h3{margin:0;font-size:15px;color:#e7edf0}#festival-view h3 small{margin-left:8px;color:#849098;font-size:12px;font-weight:400}
#festival-view .festival-setting-group p,#festival-view .form-body>p{margin:0;color:#89969e;font-size:12px;line-height:1.7}
#festival-view .festival-options{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px}#festival-view .product-check{display:flex;align-items:center;gap:8px;white-space:nowrap;margin:0;line-height:1.5}#festival-view input[type=checkbox]{flex:0 0 15px;width:15px;height:15px;accent-color:var(--accent)}
.festival-discount-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(130px,1fr);gap:16px;align-items:center}#festival-view .product-form-actions{border-top:1px solid #303a41;padding-top:16px}
#festival-view .panel-heading button{min-width:96px}#festival-state{background:#17211d!important;color:#afc9b8!important}
@media(max-width:980px){.festival-settings-grid{grid-template-columns:1fr}}@media(max-width:600px){#festival-view .form-body{padding:16px}#festival-view .product-catalog-fields{grid-template-columns:1fr}.festival-setting-group{padding:14px}.festival-discount-row{grid-template-columns:1fr 140px}}

#festival-view .product-check{display:flex!important;min-height:48px;padding:11px 12px;gap:10px;box-sizing:border-box}
#festival-view .product-check input[type=checkbox]{position:relative;flex:0 0 38px;width:38px;height:22px;min-height:22px;margin:0;grid-row:auto}
#festival-view .festival-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
#festival-view .festival-options .product-check{width:100%;font-size:13px}
#festival-view .festival-discount-row{align-items:end}#festival-view .festival-discount-row>.product-check{min-height:40px;padding:8px 12px}
#festival-view .select-trigger{width:100%}
@media(max-width:520px){#festival-view .festival-options{grid-template-columns:repeat(2,minmax(0,1fr))}}

.exclusive-settings-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start}.exclusive-config-fields{display:grid;gap:18px}.exclusive-config-fields .product-catalog-fields{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.exclusive-rule-summary{padding:20px;border:1px solid #303b3e;border-radius:10px;background:#121b1c}.exclusive-rule-summary h3{margin:0 0 10px;font-size:14px;color:#d4dfdc}.exclusive-rule-summary p{font-size:12px;line-height:1.8;color:#8e9f9b;margin:0 0 12px}.exclusive-rule-summary p:last-child{margin-bottom:0}.exclusive-rule-summary #exclusive-total{margin:0 0 18px;padding:14px;line-height:1.8;color:#b5efda}#exclusive-form>.form-body{padding:22px;gap:20px}#exclusive-form .product-form-actions{border-top:1px solid #303a41;padding-top:16px}#exclusive-form .product-check{display:flex!important;gap:10px}#exclusive-form .product-check input{flex:0 0 38px}@media(max-width:900px){.exclusive-settings-grid{grid-template-columns:1fr}}
