.servis-hidden { display: none !important; }
.servis-video-sure-hint { opacity: 0.85; font-weight: 400; }
.entry-title, .wp-block-post-title, .page-title, .post-title { display: none !important; }
.entry-content, .post-content, .wp-block-post-content { margin-top: 0 !important; padding-top: 0 !important; }
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #f3f4f6; font-family: 'Inter', system-ui, sans-serif; }
.servis-container { max-width: 1400px; margin: 0 auto; padding: 0; }
.servis-page-header { background: linear-gradient(135deg, #0c4a6e, #0369a1, #0ea5e9); padding: 0.75rem 1.25rem; color: white; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.servis-page-header h1 { font-size: 1.25rem; font-weight: 700; margin: 0; flex: 1; min-width: 0; line-height: 1.3; }
.servis-yonetim-video-trigger {
    flex-shrink: 0;
    display: block;
    padding: 0;
    border: none;
    background: none;
    cursor: pointer;
    line-height: 0;
}
.servis-yonetim-video-trigger:hover .servis-yonetim-video-thumb {
    box-shadow: 0 2px 8px rgba(0,0,0,0.28);
    transform: scale(1.05);
}
.servis-yonetim-video-thumb {
    position: relative;
    display: block;
    width: 56px;
    height: 32px;
    border-radius: 5px;
    overflow: hidden;
    background: linear-gradient(135deg, #1e3a5f 0%, #c2410c 100%);
    box-shadow: 0 1px 4px rgba(0,0,0,0.22);
    transition: transform 0.2s, box-shadow 0.2s;
}
.servis-yonetim-video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.servis-yonetim-video-placeholder {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1e3a5f 0%, #c2410c 100%);
}
.servis-yonetim-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;
}
.servis-yonetim-video-trigger:hover .servis-yonetim-video-play {
    background: rgba(0,0,0,0.45);
}
.servis-yonetim-video-play i { margin-left: 1px; }
.servis-yonetim-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;
}
.servis-yonetim-video-popup {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    max-width: 900px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.35);
}
.servis-yonetim-video-popup-baslik {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 12px 16px;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    font-size: 14px;
    font-weight: 600;
}
.servis-yonetim-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;
}
.servis-yonetim-video-kapat:hover { background: rgba(255,255,255,0.35); }
.servis-yonetim-video-embed {
    position: relative;
    width: 100%;
    background: #111;
}
.servis-yonetim-video-embed--youtube {
    padding-bottom: 56.25%;
    height: 0;
}
.servis-yonetim-video-embed--youtube iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}
.servis-yonetim-video-embed--rehber {
    padding: 0;
    height: auto;
}
/* Yerleşik kullanım rehberi oynatıcı */
.lerta-rehber-player { background: #0f172a; }
.lerta-rehber-video { width: 100%; display: block; max-height: 56vh; background: #000; cursor: pointer; }
.lerta-rehber-kontroller {
    display: flex; align-items: center; gap: 10px; padding: 10px 14px;
    background: linear-gradient(180deg, #1e293b, #0f172a);
    border-top: 1px solid rgba(255,255,255,0.08);
}
.lerta-rehber-btn {
    width: 36px; height: 36px; border: none; border-radius: 50%;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center;
    font-size: 12px; flex-shrink: 0;
}
.lerta-rehber-btn--kucuk { width: 30px; height: 30px; font-size: 10px; background: rgba(255,255,255,0.12); }
.lerta-rehber-ilerleme-wrap { flex: 1; position: relative; height: 6px; background: rgba(255,255,255,0.15); border-radius: 3px; overflow: hidden; }
.lerta-rehber-ilerleme-dolgu { position: absolute; left: 0; top: 0; height: 100%; width: 0; background: linear-gradient(90deg, #f97316, #fbbf24); border-radius: 3px; pointer-events: none; }
.lerta-rehber-ilerleme { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.lerta-rehber-sure { font-size: 11px; color: #94a3b8; font-variant-numeric: tabular-nums; min-width: 72px; text-align: right; flex-shrink: 0; }
.lerta-rehber-adimlar { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 14px 14px; background: #0f172a; border-top: 1px solid rgba(255,255,255,0.06); }
.lerta-rehber-adim {
    padding: 4px 10px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.15);
    background: rgba(255,255,255,0.06); color: #cbd5e1; font-size: 10px; font-weight: 600; cursor: pointer;
}
.lerta-rehber-adim--aktif { background: linear-gradient(135deg, #f97316, #ea580c); border-color: transparent; color: #fff; }
.lerta-rehber-bos {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    color: #fff; padding: 40px 24px; text-align: center; gap: 8px; min-height: 200px;
}
.lerta-rehber-bos i { font-size: 36px; opacity: 0.7; }
.lerta-rehber-bos p { margin: 0; font-size: 14px; }
.lerta-rehber-bos small { margin: 0; font-size: 12px; opacity: 0.75; }

.stats-wrapper { overflow-x: auto; margin-bottom: 1rem; padding: 0 1rem; margin-top: 1rem; }
.stats-inline { display: inline-flex; gap: 0.75rem; }
.stat-card { display: inline-block; min-width: 140px; background: white; border-radius: 0.6rem; padding: 0.75rem; text-align: center; box-shadow: 0 1px 3px rgba(0,0,0,0.1); border: 1px solid #e5e7eb; cursor: pointer; transition: all 0.2s; }
.stat-card:hover { transform: translateY(-2px); border-color: #f97316; }
.stat-number { font-size: 1.5rem; font-weight: 700; color: #f97316; }
.stat-label { color: #6b7280; font-size: 0.7rem; margin-top: 0.2rem; }
.stat-number.bekleyen { color: #f59e0b; }
.stat-number.islemde { color: #3b82f6; }
.stat-number.tamamlandi { color: #10b981; }

.data-table { background: white; border-radius: 0.6rem; overflow-x: auto; margin: 0 1rem 1rem 1rem; border: 1px solid #e5e7eb; }
.data-table table { width: 100%; border-collapse: collapse; }
.data-table th, .data-table td { padding: 10px 8px; text-align: left; border-bottom: 1px solid #e5e7eb; font-size: 0.75rem; }
.data-table th { background: #f9fafb; font-weight: 600; }

.btn-sm { padding: 4px 8px; border-radius: 4px; font-size: 0.7rem; border: none; cursor: pointer; }
.btn-edit { background: #3b82f6; color: white; }
.btn-delete { background: #ef4444; color: white; }
.btn-add { background: #10b981; color: white; }
.btn-view { background: #f97316; color: white; }
.btn-warning { background: #f59e0b; color: white; }

.servis-atanan-filter-bar { display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; flex-wrap: wrap; margin: 0 1rem 0.5rem; padding: 0.45rem 0.75rem; background: #eef2ff; border: 1px solid #c7d2fe; border-radius: 0.5rem; font-size: 0.75rem; color: #3730a3; }
.servis-atanan-filter-clear { color: #4338ca; text-decoration: none; font-weight: 600; }
.servis-atanan-filter-clear:hover { text-decoration: underline; }
.servis-toolbar { background: white; border-radius: 0.6rem; padding: 0.6rem 0.75rem; margin: 0 1rem 1rem 1rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem; border: 1px solid #e5e7eb; }
.search-box { position: relative; }
.search-box i { position: absolute; left: 8px; top: 50%; transform: translateY(-50%); color: #9ca3af; }
.search-box input { padding: 0.3rem 0.4rem 0.3rem 1.8rem; border: 1px solid #e5e7eb; border-radius: 0.4rem; width: 220px; font-size: 0.75rem; }
.filter-select { padding: 0.3rem 0.4rem; border: 1px solid #e5e7eb; border-radius: 0.4rem; background: white; font-size: 0.75rem; }

.view-buttons { display: flex; gap: 0.2rem; background: #f3f4f6; padding: 0.2rem; border-radius: 0.4rem; }
.view-btn { padding: 0.3rem 0.6rem; border: none; background: transparent; border-radius: 0.3rem; cursor: pointer; font-size: 0.75rem; }
.view-btn.active { background: white; box-shadow: 0 1px 3px rgba(0,0,0,0.1); color: #f97316; }

.modal { display: none !important; position: fixed; inset: 0; background: rgba(0,0,0,0.5); backdrop-filter: blur(4px); z-index: 1000; align-items: center; justify-content: center; }
.modal.active { display: flex !important; }
#lerta-qr-modal { display: none !important; z-index: 10001; }
#lerta-qr-modal.active { display: flex !important; }
#qr-portal-modal { z-index: 100050 !important; }
#qr-portal-modal.active,
#qr-portal-modal.is-open { display: flex !important; }
.modal-content { background: white; border-radius: 0.6rem; width: 95%; max-height: 90vh; overflow-y: auto; }
.modal-header { background: linear-gradient(135deg, #f97316, #ea580c); padding: 0.6rem 0.8rem; border-radius: 0.6rem 0.6rem 0 0; color: white; display: flex; justify-content: space-between; align-items: center; }
.modal-body { padding: 0.8rem; }
.modal-footer { padding: 0.6rem 0.8rem; border-top: 1px solid #e5e7eb; display: flex; justify-content: flex-end; gap: 0.5rem; }

.form-group { margin-bottom: 0.6rem; }
.form-group label { display: block; font-size: 0.65rem; font-weight: 600; margin-bottom: 0.15rem; color: #374151; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 0.35rem 0.5rem; border: 1px solid #e5e7eb; border-radius: 0.4rem; font-size: 0.75rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0.6rem; }

.pagination { display: flex; justify-content: center; gap: 0.3rem; margin-top: 1rem; padding-bottom: 1rem; }
.pagination a { padding: 0.3rem 0.6rem; background: white; border-radius: 0.4rem; text-decoration: none; color: #f97316; border: 1px solid #e5e7eb; font-size: 0.75rem; }
.pagination a.active { background: #f97316; color: white; }

.servis-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 0.75rem; padding: 0 1rem; }
.servis-card { background: white; border-radius: 0.6rem; overflow: hidden; border: 1px solid #e5e7eb; transition: all 0.2s; }
.servis-card:hover { transform: translateY(-2px); border-color: #f97316; }
.servis-card-header { background: linear-gradient(135deg, #f97316, #ea580c); padding: 0.6rem; color: white; display: flex; justify-content: space-between; align-items: center; }
.servis-card-header h3 { font-size: 0.85rem; margin: 0; }
.servis-badge { font-size: 0.6rem; padding: 0.15rem 0.5rem; border-radius: 100px; background: rgba(255,255,255,0.2); }
.servis-body { padding: 0.6rem; }
.servis-info { display: flex; align-items: center; gap: 0.4rem; margin-bottom: 0.3rem; font-size: 0.75rem; color: #4b5563; }
.servis-info i { width: 0.9rem; color: #f97316; }
.servis-actions { display: flex; gap: 0.3rem; margin-top: 0.6rem; padding-top: 0.6rem; border-top: 1px solid #e5e7eb; }
.servis-actions button { flex: 1; padding: 0.3rem; border-radius: 0.3rem; font-size: 0.65rem; }

@media (max-width: 768px) {
    .stat-card { min-width: 120px; padding: 0.5rem; }
    .stat-number { font-size: 1rem; }
    .search-box input { width: 150px; }
    .servis-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
}
