.bf-cancellation-dialog{position:fixed;inset:0;margin:auto;width:min(720px,calc(100% - 28px));height:fit-content;max-width:none;max-height:calc(100vh - 28px);max-height:calc(100dvh - 28px);padding:0;border:1px solid #d9d9d9;border-radius:22px;background:#fff;color:#000;box-shadow:0 24px 70px #0003;overflow:auto;overscroll-behavior:contain;font-family:inherit;font-size:15px;line-height:1.55}
.bf-cancellation-dialog::backdrop{background:#0007;backdrop-filter:blur(3px)}
.bf-cancellation-dialog *{box-sizing:border-box}
.bf-cancel-header{display:flex;align-items:flex-start;justify-content:space-between;gap:14px;padding:22px 24px 18px;background:#fff;border-bottom:1px solid #e9e9e9;position:sticky;top:0;z-index:2}
.bf-cancel-header h2{font-size:24px;line-height:1.25;letter-spacing:-.5px;margin:5px 0 0;color:#000}
.bf-cancel-kicker{font-size:11px;font-weight:750;letter-spacing:1.1px;color:#5c5c5c}
.bf-cancel-body{padding:20px 24px 24px}
.bf-cancel-body p{margin:8px 0}
.bf-cancel-body h3{margin:0;font-size:18px;color:#000}
.bf-cancel-notice:empty,.bf-cancel-error:empty{display:none}
.bf-cancel-notice{padding:12px 14px;border-radius:12px;background:#e2f6eb;color:#000;overflow-wrap:anywhere}
.bf-cancel-error{padding:12px 14px;border-radius:12px;background:#ffe8e8;color:#9b1313;overflow-wrap:anywhere}
.bf-cancel-course{border:1px solid #e5e5e5;border-radius:15px;padding:16px 18px;margin:0 0 16px;background:#fafafa;overflow-wrap:anywhere}
.bf-cancel-course h3{margin:3px 0 8px}
.bf-cancel-course p{color:#333;font-size:14px}
.bf-cancel-impact{padding:16px 18px;margin:16px 0;border-radius:15px;background:#e4f5ed;border:1px solid #cbe6d7}
.bf-cancel-impact.same-day{background:#fffbd3;border-color:#eae69d}
.bf-cancel-impact>strong{font-size:18px;color:#000}
.bf-cancel-impact p{font-size:14px}
.bf-cancel-impact small{display:block;margin-top:10px;color:#444}
.bf-cancel-note{padding:12px 14px;border-radius:12px;background:#f4f4f4;font-size:14px;color:#333}
.bf-cancel-note.warn{background:#fff0d2;color:#573400}
.bf-cancel-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;margin:18px 0}
.bf-cancel-fields>.full{grid-column:1/-1}
.bf-cancel-fields>label,.bf-cancel-filters>label{display:flex;flex-direction:column;gap:7px;color:#000;font-weight:650;min-width:0}
.bf-cancel-fields input:not([type=checkbox]),.bf-cancel-fields select,.bf-cancel-fields textarea,.bf-cancel-filters input,.bf-cancel-filters select{display:block;width:100%;min-width:0;min-height:46px;padding:10px 12px;border:1px solid #ccc;border-radius:11px;background:#fff;color:#000;font:inherit;line-height:1.4;box-shadow:none}
.bf-cancel-fields textarea{resize:vertical;min-height:110px}
.bf-cancel-fields input:focus,.bf-cancel-fields select:focus,.bf-cancel-fields textarea:focus,.bf-cancel-filters input:focus,.bf-cancel-filters select:focus{outline:2px solid #000;outline-offset:2px}
.bf-cancel-fields small{font-size:12px;color:#666;line-height:1.5;font-weight:400}
.bf-cancel-check{display:flex!important;align-items:flex-start;gap:10px;min-height:44px;padding:10px 0;font-weight:500!important}
.bf-cancel-check input[type=checkbox]{margin:2px 0 0;width:21px;height:21px;flex:0 0 21px;accent-color:#000}
.bf-cancel-check span{min-width:0}
.bf-cancel-button{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;max-width:100%;padding:10px 15px;border:1px solid #ccc;border-radius:12px;background:#fff;color:#000;font:inherit;font-weight:650;line-height:1.4;text-align:center;text-decoration:none;white-space:normal;cursor:pointer;overflow-wrap:anywhere}
.bf-cancel-button.primary{background:#ffff00;border-color:#ffff00;color:#000}
.bf-cancel-button.ghost{background:transparent;border-color:transparent;color:#4c4c4c}
.bf-cancel-button:hover{border-color:#000}
.bf-cancel-button:focus-visible{outline:2px solid #000;outline-offset:3px}
.bf-cancel-button:disabled{opacity:.5;cursor:wait}
.bf-cancel-actions,.bf-cancel-footer{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:18px}
.bf-cancel-footer{padding-top:17px;border-top:1px solid #e7e7e7;justify-content:flex-end}
.bf-cancel-badges{display:flex;gap:8px;flex-wrap:wrap;margin:12px 0}
.bf-cancel-badge{display:inline-flex;align-items:center;max-width:100%;padding:5px 10px;border-radius:99px;background:#ececfb;color:#262626;font-size:12px;font-weight:650}
.bf-cancel-badge.pending,.bf-cancel-badge.insufficient{background:#fff4bd}
.bf-cancel-badge.disputed{background:#ffe1df}
.bf-cancel-badge.confirmed,.bf-cancel-badge.exempted,.bf-cancel-badge.refunded,.bf-cancel-badge.waived{background:#dcf4e7}
.bf-cancel-detail{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 20px}
.bf-cancel-detail>div{display:flex;flex-direction:column;gap:5px;padding:13px 0;border-bottom:1px solid #ededed;min-width:0}
.bf-cancel-detail>.full{grid-column:1/-1}
.bf-cancel-detail span,.bf-cancel-detail small{font-size:12px;color:#666}
.bf-cancel-detail strong{font-size:15px;font-weight:650}
.bf-cancel-detail p{margin:0}
.bf-cancel-pre{white-space:pre-wrap;overflow-wrap:anywhere}
.bf-cancel-medical{padding:16px 0}
.bf-cancel-help,.bf-cancel-meta{font-size:12px;color:#686868;line-height:1.6;overflow-wrap:anywhere}
.bf-cancel-meta{margin-top:20px!important}
.bf-cancel-file{display:flex;align-items:center;justify-content:space-between;gap:12px;border:1px solid #e4e4e4;border-radius:12px;padding:12px;margin:10px 0}
.bf-cancel-file>div{min-width:0;overflow-wrap:anywhere}
.bf-cancel-file small{display:block;margin-top:4px;font-size:12px;color:#666}
.bf-cancel-proof-image{display:block;max-width:100%;height:auto;margin:16px auto;border:1px solid #ddd;border-radius:8px}
.bf-cancel-filters{display:grid;grid-template-columns:1fr 1.6fr auto;align-items:end;gap:12px;padding:14px;border-radius:14px;background:#f6f6f6;margin:16px 0}
.bf-cancel-filters label{font-size:13px}
.bf-cancel-list{display:grid;gap:13px;margin-top:15px}
.bf-cancel-list>article{padding:17px;border:1px solid #e1e1e1;border-radius:15px;background:#fff;overflow-wrap:anywhere}
.bf-cancel-list-heading{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}
.bf-cancel-list-heading h3{font-size:17px}
.bf-cancel-list p{font-size:14px}
.bf-cancel-empty{padding:28px 15px;text-align:center;background:#f6f6f6;border-radius:15px;color:#555}
.bf-cancel-lead{color:#5c5c5c;font-size:14px}
@media(max-width:600px){
 .bf-cancellation-dialog{width:calc(100% - 20px);max-height:calc(100vh - 20px);max-height:calc(100dvh - 20px);border-radius:18px}
 .bf-cancel-header{padding:17px 16px 14px;gap:8px}
 .bf-cancel-header h2{font-size:21px}
 .bf-cancel-header>.bf-cancel-button{padding:8px 10px;flex-shrink:0}
 .bf-cancel-body{padding:16px}
 .bf-cancel-course,.bf-cancel-impact{padding:14px}
 .bf-cancel-fields,.bf-cancel-detail{grid-template-columns:minmax(0,1fr)}
 .bf-cancel-fields input:not([type=checkbox]),.bf-cancel-fields select,.bf-cancel-fields textarea,.bf-cancel-filters input,.bf-cancel-filters select{font-size:16px}
 .bf-cancel-filters{grid-template-columns:minmax(0,1fr);padding:12px}
 .bf-cancel-footer>.bf-cancel-button{flex:1 1 140px}
 .bf-cancel-actions>.bf-cancel-button{flex:1 1 150px}
 .bf-cancel-file{align-items:flex-start;flex-direction:column}
 .bf-cancel-file>.bf-cancel-button{width:100%}
 .bf-cancel-list-heading{flex-direction:column}
}
