/* SnapStock — Vardiya Takvim — Site temasıyla uyumlu (dark + terracotta) */

/* ── Yoğunluk Heatmap ─────────────────────────────── */
.coverage-wrapper {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 16px;
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.coverage-legend {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 14px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
}

.coverage-legend .legend-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin: 0 4px;
}

.coverage-legend .legend-cell {
    width: 22px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(255,255,255,0.05);
}

.coverage-legend .legend-spacer {
    flex: 1;
}

.coverage-grid {
    display: grid;
    grid-template-columns: 60px repeat(var(--day-count, 7), minmax(60px, 1fr));
    gap: 2px;
    overflow-x: auto;
}

.coverage-corner {
    background: rgba(255,255,255,0.02);
    border-radius: 4px;
}

.coverage-day-header {
    background: rgba(255,255,255,0.04);
    border-radius: 6px;
    padding: 6px 4px;
    text-align: center;
    font-size: 0.78rem;
    line-height: 1.3;
}

.coverage-day-header strong {
    display: block;
    color: var(--text-main);
    font-weight: 600;
    text-transform: capitalize;
}

.coverage-day-header small {
    color: var(--text-muted);
    font-size: 0.7rem;
}

.coverage-day-header.is-today {
    background: rgba(201, 100, 66, 0.12);
    border: 1px solid rgba(201, 100, 66, 0.3);
}

.coverage-hour-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    text-align: right;
    padding: 2px 6px 2px 0;
    font-variant-numeric: tabular-nums;
    align-self: center;
}

.coverage-cell {
    height: 26px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: rgba(255,255,255,0.95);
    cursor: help;
    transition: transform 0.12s, box-shadow 0.12s;
    border: 1px solid rgba(255,255,255,0.04);
    white-space: pre-line;
}

.coverage-cell:hover {
    transform: scale(1.08);
    z-index: 2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.25);
    border-color: rgba(255,255,255,0.2);
}

.coverage-cell.is-empty {
    background: rgba(255,255,255,0.02);
    border: 1px dashed rgba(255,255,255,0.04);
    cursor: default;
}

.coverage-cell.is-empty:hover {
    transform: none;
    box-shadow: none;
}

.coverage-count {
    text-shadow: 0 1px 2px rgba(0,0,0,0.4);
}

@media (max-width: 768px) {
    .coverage-grid {
        grid-template-columns: 50px repeat(var(--day-count, 7), minmax(48px, 1fr));
    }
    .coverage-cell {
        height: 22px;
        font-size: 0.65rem;
    }
}


/* ── Drag tooltip ────────────────────────────────── */
.shift-drag-tooltip {
    position: fixed;
    z-index: 9999;
    pointer-events: none;
    display: none;
    align-items: center;
    gap: 6px;
    background: rgba(20, 20, 19, 0.92);
    border: 1px solid rgba(255,255,255,0.10);
    color: #faf9f5;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    backdrop-filter: blur(8px);
    white-space: nowrap;
}

.shift-drag-tooltip small {
    opacity: 0.55;
    font-size: 0.72rem;
}

.shift-drag-tooltip.copy-mode {
    background: rgba(201, 100, 66, 0.90);
    border-color: rgba(255,255,255,0.15);
    color: #faf9f5;
}

/* ── Page ────────────────────────────────────────── */
.shift-page {
    padding: 1rem;
    min-height: 100vh;
}

/* ── Toolbar ─────────────────────────────────────── */
.shift-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1rem;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
}

.shift-toolbar .range-label {
    font-weight: 600;
    color: var(--text-main);
    margin: 0 0.5rem;
    font-size: 0.95rem;
}

.shift-toolbar .info-hint {
    margin-left: auto;
    color: var(--text-muted);
    font-size: 0.76rem;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* ── Grid wrapper ────────────────────────────────── */
.shift-grid-wrapper {
    overflow-x: auto;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.shift-grid {
    display: grid;
    min-width: 900px;
}

.shift-grid-header,
.shift-grid-row {
    display: grid;
    grid-template-columns: 220px repeat(var(--day-count, 7), minmax(140px, 1fr));
}

.shift-grid-header {
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--glass-border);
    position: sticky;
    top: 0;
    z-index: 5;
}

/* ── Day header ──────────────────────────────────── */
.day-header {
    text-align: left;
    padding: 0.75rem 0.6rem;
    font-size: 0.85rem;
    line-height: 1.3;
    border-right: 1px solid var(--glass-border);
    transition: background 0.15s;
    position: relative;
}

.day-header strong {
    display: block;
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.88rem;
    font-family: inherit;
}

.day-header small {
    color: var(--text-muted);
    font-size: 0.73rem;
}

.day-header.is-today {
    background: rgba(201, 100, 66, 0.08);
    border-bottom: 2px solid var(--primary);
}

.day-header.is-today strong {
    color: var(--primary);
}

.day-header.is-tr-holiday {
    background: rgba(224, 92, 77, 0.08);
}

.day-header.is-foreign-holiday {
    background: rgba(230, 160, 48, 0.07);
}

.day-header .holiday-list {
    margin-top: 5px;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.day-header .holiday-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255,255,255,0.06);
    border-radius: 999px;
    padding: 2px 7px;
    border: 1px solid rgba(255,255,255,0.08);
    white-space: nowrap;
    font-size: 0.68rem;
    color: var(--text-muted);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.day-header .holiday-badge.tr {
    background: rgba(224, 92, 77, 0.15);
    border-color: rgba(224, 92, 77, 0.25);
    color: #f87171;
    font-weight: 500;
}

/* ── Staff cell ──────────────────────────────────── */
.staff-cell {
    background: rgba(255,255,255,0.02);
    border-right: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.65rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.7rem;
    position: sticky;
    left: 0;
    z-index: 3;
    min-height: 88px;
}

.staff-cell.empty {
    background: rgba(255,255,255,0.01);
}

.staff-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--avatar-c1, #c96442) 0%, var(--avatar-c2, #d97757) 100%);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.82rem;
    flex-shrink: 0;
    letter-spacing: 0.02em;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}

.staff-info strong {
    display: block;
    color: var(--text-main);
    font-size: 0.88rem;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-family: inherit;
}

.staff-info small {
    color: var(--text-muted);
    font-size: 0.70rem;
}

/* ── Shift cell ──────────────────────────────────── */
.shift-cell {
    border-right: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    padding: 6px;
    min-height: 88px;
    position: relative;
    box-sizing: border-box;
    cursor: pointer;
    transition: background 0.12s ease;
}

.shift-cell:hover {
    background: rgba(201, 100, 66, 0.05);
}

.shift-cell.is-tr-holiday {
    background: rgba(224, 92, 77, 0.06);
}

.shift-cell.drop-active {
    background: rgba(201, 100, 66, 0.07);
    box-shadow: inset 0 0 0 1px rgba(201, 100, 66, 0.20);
}

.shift-cell.drop-target {
    background: rgba(201, 100, 66, 0.14);
    box-shadow: inset 0 0 0 2px var(--primary);
}

.shift-cell.drop-copy {
    background: rgba(76, 175, 96, 0.12);
    box-shadow: inset 0 0 0 2px #4caf60;
}

/* ── Shift block ─────────────────────────────────── */
.shift-block {
    background: linear-gradient(135deg, var(--block-c1, #c96442) 0%, var(--block-c2, #d97757) 100%);
    color: #fff;
    border-radius: var(--radius-md);
    padding: 7px 9px;
    margin-bottom: 4px;
    font-size: 0.77rem;
    font-weight: 500;
    cursor: grab;
    user-select: none;
    touch-action: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.15s, box-shadow 0.15s;
}

.shift-block::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: rgba(255,255,255,0.35);
    border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.shift-block:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.15);
}

.shift-block.shift-dragging {
    opacity: 0.88;
    cursor: grabbing;
    z-index: 100;
    transform: rotate(-1.5deg) scale(1.03);
    box-shadow: 0 16px 36px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.18);
}

.shift-block.shift-resizing { opacity: 0.92; }

.shift-block .shift-time {
    display: block;
    line-height: 1.3;
    font-weight: 600;
    font-size: 0.80rem;
}

.shift-block .shift-duration {
    display: inline-block;
    margin-top: 2px;
    font-size: 0.68rem;
    opacity: 0.80;
    background: rgba(255,255,255,0.15);
    padding: 1px 6px;
    border-radius: 999px;
}

.shift-block .shift-note {
    display: block;
    font-size: 0.68rem;
    opacity: 0.85;
    margin-top: 3px;
    font-style: italic;
}

.shift-block .shift-delete {
    position: absolute;
    top: 4px; right: 5px;
    background: rgba(0,0,0,0.20);
    color: #fff;
    border: none;
    width: 17px; height: 17px;
    border-radius: 50%;
    font-size: 0.82rem;
    line-height: 1;
    padding: 0;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
}

.shift-block:hover .shift-delete { display: flex; }
.shift-block .shift-delete:hover { background: rgba(224,92,77,0.85); }

.shift-block.shift-saving {
    opacity: 0.55;
    cursor: wait;
    pointer-events: none;
}

.shift-block.shift-saving::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.15);
    animation: pulse 1.2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

/* ── Add Popover Modal ───────────────────────────── */
.shift-popover-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 9, 0.60);
    backdrop-filter: blur(4px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.shift-popover-modal {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 20px;
    width: 420px;
    max-width: 92vw;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    animation: popIn 0.18s ease-out;
}

@keyframes popIn {
    from { transform: scale(0.95) translateY(6px); opacity: 0; }
    to   { transform: scale(1) translateY(0); opacity: 1; }
}

.popover-staff-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 14px;
}

.popover-staff-header .staff-avatar { width: 42px; height: 42px; font-size: 0.9rem; }

.popover-staff-header h5 {
    margin: 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
    font-family: inherit;
}

.popover-staff-header small { color: var(--text-muted); font-size: 0.76rem; }

.popover-section-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    margin-bottom: 8px;
    margin-top: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ── Quick pick buttons ──────────────────────────── */
.suggested-ranges {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
    margin-bottom: 14px;
}

.range-btn {
    border: 1px solid var(--glass-border);
    background: rgba(255,255,255,0.03);
    border-radius: var(--radius-md);
    padding: 9px 7px;
    text-align: left;
    cursor: pointer;
    transition: all 0.15s;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-family: inherit;
    color: var(--text-main);
}

.range-btn:hover {
    border-color: rgba(201, 100, 66, 0.35);
    background: rgba(201, 100, 66, 0.07);
}

.range-btn.active {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 2px rgba(201,100,66,0.15);
}

.range-btn .range-icon { color: var(--primary); font-size: 1rem; line-height: 1; }
.range-btn .range-label { font-weight: 600; font-size: 0.83rem; color: var(--text-main); }
.range-btn .range-time { font-size: 0.70rem; color: var(--text-muted); }

/* ── Conflict banner ─────────────────────────────── */
.conflict-banner {
    background: rgba(224, 92, 77, 0.10);
    border: 1px solid rgba(224, 92, 77, 0.25);
    border-radius: var(--radius-md);
    padding: 9px 11px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.80rem;
    color: var(--danger);
}

.conflict-banner .conflict-icon { font-size: 1rem; flex-shrink: 0; margin-top: 1px; }
.conflict-banner strong { display: block; margin-bottom: 2px; }
.conflict-banner small { opacity: 0.75; font-size: 0.73rem; }

/* ── Time spinner ────────────────────────────────── */
.time-spinner-row {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
    align-items: center;
    margin-bottom: 12px;
}

.time24 {
    display: flex;
    align-items: center;
    border: 1px solid var(--input-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--input-bg);
    transition: border-color 0.15s;
    height: 40px;
}

.time24:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(201,100,66,0.12);
}

.time24 input {
    border: none;
    outline: none;
    width: 34px;
    padding: 7px 0;
    font-size: 0.98rem;
    font-weight: 600;
    color: var(--text-main);
    text-align: center;
    background: transparent;
    font-variant-numeric: tabular-nums;
    -moz-appearance: textfield;
}

.time24 input::-webkit-outer-spin-button,
.time24 input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.time24 .time-sep { color: var(--text-muted); font-weight: 700; font-size: 0.98rem; }

.time24-arrows {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--glass-border);
    margin-left: 3px;
}

.time24-arrows button {
    border: none;
    background: transparent;
    width: 24px; height: 20px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.62rem;
    padding: 0; line-height: 1;
}

.time24-arrows button:hover { background: rgba(201,100,66,0.10); color: var(--primary); }
.time24-arrows button:first-child { border-bottom: 1px solid var(--glass-border); }

.time-arrow { color: var(--text-muted); font-size: 0.95rem; text-align: center; }

/* time-spinner (input[type=time] wrapper) */
.time-spinner {
    display: flex;
    align-items: center;
    border: 1px solid var(--input-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--input-bg);
    height: 40px;
    gap: 0;
}

.time-spinner input[type="time"] {
    border: none;
    outline: none;
    background: transparent;
    color: var(--text-main);
    font-size: 0.96rem;
    font-weight: 600;
    padding: 0 8px;
    flex: 1;
    height: 100%;
    font-variant-numeric: tabular-nums;
}

.time-spinner-arrows {
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--glass-border);
}

.time-spinner-arrows button {
    border: none;
    background: transparent;
    width: 24px; height: 20px;
    cursor: pointer;
    color: var(--text-muted);
    font-size: 0.62rem;
    padding: 0; line-height: 1;
}

.time-spinner-arrows button:hover { background: rgba(201,100,66,0.10); color: var(--primary); }
.time-spinner-arrows button:first-child { border-bottom: 1px solid var(--glass-border); }

/* ── Drop confirm modal ──────────────────────────── */
.drop-confirm-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10,10,9,0.55);
    backdrop-filter: blur(3px);
    z-index: 998;
    display: flex;
    align-items: center;
    justify-content: center;
}

.drop-confirm-modal {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 18px;
    width: 310px;
    max-width: 92vw;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    animation: popIn 0.18s ease-out;
}

.drop-confirm-modal h6 { margin: 0 0 5px; font-size: 0.93rem; font-weight: 600; color: var(--text-main); font-family: inherit; }
.drop-confirm-modal p { margin: 0 0 13px; font-size: 0.80rem; color: var(--text-muted); }

.drop-confirm-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
}

.drop-confirm-actions .btn { border-radius: var(--radius-md); padding: 8px; font-weight: 500; font-size: 0.83rem; }
.drop-confirm-actions .btn-cancel {
    grid-column: 1 / -1;
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
}

/* ── Popover footer ──────────────────────────────── */
.popover-footer { display: flex; gap: 8px; margin-top: 6px; }
.popover-footer .btn-primary { flex: 1; font-weight: 600; border-radius: var(--radius-md); padding: 10px; }
.popover-footer .btn-outline-secondary { border-radius: var(--radius-md); padding: 10px 14px; font-weight: 500; }

/* ── Preset list (ayarlar modal) ─────────────────── */
.preset-list { display: flex; flex-direction: column; gap: 7px; margin-bottom: 12px; }

.preset-item {
    display: grid;
    grid-template-columns: auto 1fr auto auto auto;
    gap: 7px;
    align-items: center;
    padding: 8px 10px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.03);
}

.preset-item .preset-icon {
    width: 30px; height: 30px;
    border-radius: var(--radius-sm);
    background: var(--primary-light);
    color: var(--primary);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
}

.preset-item input.preset-name {
    border: none;
    background: transparent;
    font-weight: 600;
    color: var(--text-main);
    outline: none;
    padding: 2px 4px;
    border-bottom: 1px dashed transparent;
}

.preset-item input.preset-name:focus { border-bottom-color: var(--primary); }

.preset-item .preset-time {
    display: flex; gap: 4px; align-items: center;
    font-variant-numeric: tabular-nums;
    font-size: 0.83rem;
    color: var(--text-main);
}

.preset-item .preset-time input {
    width: 48px; padding: 3px 5px;
    border: 1px solid var(--input-border);
    border-radius: var(--radius-sm);
    text-align: center;
    font-variant-numeric: tabular-nums;
    font-size: 0.83rem;
    background: var(--input-bg);
    color: var(--text-main);
}

.preset-item .preset-icon-picker { display: flex; gap: 2px; }

.preset-item .preset-icon-picker button {
    border: 1px solid transparent;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.92rem;
    padding: 3px 5px;
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.preset-item .preset-icon-picker button.active {
    background: var(--primary-light);
    color: var(--primary);
    border-color: rgba(201,100,66,0.25);
}

.preset-item .preset-delete {
    background: transparent;
    border: none;
    color: var(--danger);
    cursor: pointer;
    padding: 3px 7px;
    font-size: 0.95rem;
}

/* ── Staff filter list ───────────────────────────── */
.staff-filter-list {
    display: flex; flex-direction: column; gap: 5px;
    max-height: 260px; overflow-y: auto;
}

.staff-filter-item {
    display: flex; align-items: center; gap: 10px;
    padding: 7px 10px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    background: rgba(255,255,255,0.02);
}

.staff-filter-item .staff-avatar { width: 30px; height: 30px; font-size: 0.75rem; }
.staff-filter-item label { flex: 1; margin: 0; font-size: 0.86rem; cursor: pointer; color: var(--text-main); }
.staff-filter-item input[type="checkbox"] { width: 16px; height: 16px; cursor: pointer; accent-color: var(--primary); }

/* ── Toggle row ──────────────────────────────────── */
.toggle-row {
    display: flex; flex-wrap: wrap; gap: 12px;
    margin-bottom: 14px; padding: 9px 11px;
    background: rgba(255,255,255,0.02);
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.toggle-row label {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.82rem; color: var(--text-main); cursor: pointer; margin: 0;
}

/* ── Work hours table ────────────────────────────── */
.work-hours-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.work-hours-table th,
.work-hours-table td {
    padding: 0.62rem 0.85rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
    color: var(--text-main);
}

.work-hours-table th {
    background: rgba(255,255,255,0.03);
    font-weight: 600;
    color: var(--text-muted);
    font-size: 0.82rem;
}

.work-hours-table td .total-hours { font-weight: 600; color: var(--primary); }

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 768px) {
    .shift-grid-header,
    .shift-grid-row {
        grid-template-columns: 155px repeat(var(--day-count, 7), minmax(115px, 1fr));
    }

    .shift-block { font-size: 0.70rem; padding: 5px 7px; }
    .shift-toolbar { font-size: 0.83rem; }
    .shift-popover-modal { width: 96vw; padding: 15px; }
    .suggested-ranges { grid-template-columns: 1fr; }
}

/* ── Boş hücre + hint ────────────────────────────── */
.shift-cell:not(:has(.shift-block)):hover::after {
    content: '+';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 300;
    color: rgba(201, 100, 66, 0.30);
    pointer-events: none;
}

/* ── Staff hours badge ───────────────────────────── */
.staff-hours-badge {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 0.67rem;
    color: var(--primary);
    background: var(--primary-light);
    padding: 1px 6px;
    border-radius: 999px;
    margin-top: 3px;
}

/* ── Undo toast ──────────────────────────────────── */
.shift-toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 9997;
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 11px 18px;
    display: flex;
    align-items: center;
    gap: 14px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
    animation: toastIn 0.22s var(--easing-spring);
    white-space: nowrap;
    font-size: 0.84rem;
    color: var(--text-main);
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px) scale(0.97); }
    to   { opacity: 1; transform: translateX(-50%) translateY(0) scale(1); }
}

.shift-toast .toast-undo {
    background: var(--primary-light);
    color: var(--primary);
    border: 1px solid rgba(201,100,66,0.25);
    border-radius: var(--radius-sm);
    padding: 4px 10px;
    font-size: 0.79rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.12s;
}

.shift-toast .toast-undo:hover {
    background: rgba(201,100,66,0.18);
}
