.abf-calendar{font-family:inherit;direction:rtl}
.abf-cal-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
.abf-cal-nav{display:flex;gap:8px}
.abf-cal-nav button{border:1px solid #ddd;background:#fff;border-radius:8px;padding:6px 10px;cursor:pointer}
.abf-cal-nav button[disabled]{opacity:.45;cursor:not-allowed}
.abf-cal-title{font-weight:700}
.abf-cal-grid{display:grid;grid-template-columns:repeat(7,1fr);gap:6px}
.abf-cal-wd{font-size:12px;text-align:center;color:#6b7280;padding:4px 0}
.abf-day{position:relative;border:1px solid #eee;border-radius:10px;padding:6px 4px;min-height:56px;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;background:#fff;cursor:pointer}
.abf-day .num{font-weight:700;margin-top:0}
.abf-day .cap{font-size:11px;margin-top:4px;line-height:1.1;color:#374151;text-align:center;min-height:14px}
.abf-day.off .num{color:#ef4444}
.abf-day.disabled{opacity:.45;cursor:not-allowed;background:#f9fafb}
.abf-day.selected{outline:2px solid #06b6d4}
.abf-day:not(.disabled):hover{background:#f0f9ff}
#abf-date-inline, .abf-day { border: 1px solid #0c0c0c !important; }
.abf-cal-nav button { color: #0c0c0c; border: 1px solid #0c0c0c !important; }
.abf-form {
/* max-width: 800px; */
 margin: 20px auto; font-family: inherit;}
.abf-column {margin-bottom: 20px;}
.abf-input {width: 100%; padding: 8px; margin-top: 5px; border: 1px solid #ccc; border-radius: 4px;}
.abf-flex-row {display: flex; gap: 15px; margin-bottom: 15px;}
.abf-row {flex: 1;}
.abf-btn {padding: 10px 20px; background: #0073aa; color: #fff; border: none; border-radius: 4px; cursor: pointer; text-decoration: none; display: inline-block;}
.abf-success {background: #d4edda; color: #155724; padding: 15px; border-radius: 4px; margin-bottom: 10px;}
.abf-alert {background: #f8d7da; color: #721c24; padding: 15px; border-radius: 4px; margin-bottom: 10px;}
.abf-modal {position:fixed;inset:0;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.5);z-index:99999}
.abf-modal .actions {display:flex;gap:10px;justify-content:flex-end;margin-top:20px}
.abf-seg {display: flex; gap: 15px; margin-top: 5px;}
.abf-slot-btn{border:1px solid #e5e7eb;background:#fff;border-radius:10px;padding:10px 12px;text-align:right;cursor:pointer}
.abf-slot-btn:hover{box-shadow:0 2px 10px rgba(0,0,0,.04)}
.abf-slot-btn.is-full{background:#f9fafb;color:#9ca3af;border-style:dashed;cursor:not-allowed}