#hazir-islemler-modal.hidden { display: none !important; }
#hazir-islemler-modal {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}
#hazir-islemler-modal .modal-content,
#hazir-islemler-modal .hazir-islem-modal-content {
    background: white;
    border-radius: 12px;
    padding: 20px;
    max-width: 700px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
}
#hazir-islemler-modal .modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 12px;
    gap: 8px;
}
#hazir-islemler-modal .hazir-islem-modal-header h3 {
    margin: 0;
    flex: 1;
    min-width: 0;
    font-size: 1.1rem;
    line-height: 1.3;
}
/* Sekmeler — Servis turuncu standart (Ruhsat sekmesi ile uyumlu) */
#hazir-islemler-modal .hazir-modal-body { padding-top: 4px; }
#hazir-islemler-modal .hazir-sekme-nav {
    display: flex;
    gap: 0;
    margin: 0 0 16px 0;
    padding: 0;
    border-bottom: 2px solid #fed7aa;
    background: linear-gradient(180deg, #fff7ed 0%, #fff 100%);
    border-radius: 10px 10px 0 0;
}
#hazir-islemler-modal .hazir-sekme-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: transparent;
    border: none;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    padding: 12px 16px;
    font-weight: 600;
    font-size: 13px;
    color: #9ca3af;
    cursor: pointer;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
#hazir-islemler-modal .hazir-sekme-btn i { font-size: 14px; opacity: 0.85; }
#hazir-islemler-modal .hazir-sekme-btn:hover {
    color: #ea580c;
    background: rgba(255, 247, 237, 0.6);
}
#hazir-islemler-modal .hazir-sekme-btn.active {
    color: #f97316;
    border-bottom-color: #f97316;
    background: #fff;
}
#hazir-islemler-modal .hazir-sekme-btn.active i { opacity: 1; }
#hazir-islemler-modal .hazir-sekme-panel {
    display: none !important;
}
#hazir-islemler-modal .hazir-sekme-panel.active {
    display: block !important;
    animation: hazirSekmeFadeIn 0.18s ease;
}
#hazir-islemler-modal .hazir-sekme-aciklama {
    color: #6b7280;
    font-size: 13px;
    margin: 0 0 16px 0;
    line-height: 1.45;
}
@keyframes hazirSekmeFadeIn {
    from { opacity: 0; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}
#hazir-islemler-modal.hazir-modal-marka-genis .hazir-islem-modal-content {
    max-width: 1200px !important;
    width: 96% !important;
}
.hazir-islem-header-sag {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.hazir-islem-video-trigger {
    flex-shrink: 0;
    display: block;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 0;
}
.hazir-islem-video-trigger:hover .hazir-islem-video-thumb {
    box-shadow: 0 2px 8px rgba(249, 115, 22, 0.4);
    transform: scale(1.05);
}
.hazir-islem-video-thumb {
    position: relative;
    display: block;
    width: 56px;
    height: 32px;
    border-radius: 5px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #f97316 100%);
    box-shadow: 0 1px 4px rgba(0,0,0,0.18);
    transition: transform 0.2s, box-shadow 0.2s;
}
.hazir-islem-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hazir-islem-video-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a5f 0%, #f97316 100%);
}
.hazir-islem-video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    color: white;
    font-size: 10px;
    transition: background 0.2s;
}
.hazir-islem-video-trigger:hover .hazir-islem-video-play {
    background: rgba(0,0,0,0.45);
}
.hazir-islem-video-play i {
    margin-left: 1px;
}
#hazir-islemler-modal .close-btn {
    margin: 0;
    padding: 0;
    line-height: 1;
}
.hazir-islem-video-overlay {
    position: fixed;
    inset: 0;
    z-index: 10050;
    background: rgba(0,0,0,0.72);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}
.hazir-islem-video-popup {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 640px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.hazir-islem-video-popup-baslik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 10px 14px;
    background: #f97316;
    color: white;
    font-size: 13px;
    font-weight: 600;
}
.hazir-islem-video-kapat {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    flex-shrink: 0;
}
.hazir-islem-video-kapat:hover {
    background: rgba(255,255,255,0.35);
}
.hazir-islem-video-embed {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
    background: #111;
}
.hazir-islem-video-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.hazir-islem-video-embed--rehber {
    padding: 0;
    height: auto;
}
.hazir-islem-video-embed--youtube {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}
#hazir-islemler-modal .modal-footer {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
}
.close-btn {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
}
.close-btn:hover { color: #e74c3c; }
.form-control {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    box-sizing: border-box;
}
.btn-save {
    background: #f97316;
    color: white;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
    font-weight: 600;
    white-space: nowrap;
}
.btn-save:hover { background: #ea580c; }
.btn-cancel {
    background: #e5e7eb;
    color: #333;
    border: none;
    padding: 8px 20px;
    border-radius: 6px;
    cursor: pointer;
}
.btn-cancel:hover { background: #d1d5db; }
.hazir-islem-actions .btn-add {
    background: #10b981;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.hazir-islem-actions .btn-add:hover { background: #059669; }
.hazir-islem-actions .btn-edit {
    background: #f59e0b;
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.hazir-islem-actions .btn-edit:hover { background: #d97706; }
.hazir-islem-actions .btn-del {
    background: #ef4444;
    color: white;
    border: none;
    padding: 5px 8px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    white-space: nowrap;
}
.hazir-islem-actions .btn-del:hover { background: #dc2626; }
.hazir-islem-item--duzenleniyor {
    background: #fff7ed;
    border-radius: 6px;
    outline: 2px solid #f97316;
}
#yeni-hazir-kategori option[value="__yeni_kategori__"] {
    color: #ea580c;
    font-weight: 600;
}
