/* ======================================================
   Sarekam CSS — saved-services.css
   Extracted from index.html | Phase 1 Refactor
   DO NOT add styles from other sections to this file.
   ====================================================== */

.saved-svc-backdrop {
    display: none; position: fixed; inset: 0;
    background: rgba(0,0,0,0.35); z-index: 5500;
    opacity: 0; transition: opacity 0.3s;
}
.saved-svc-backdrop.open { opacity: 1; }
.saved-svc-overlay {
    position: fixed; top: 0; right: 0;
    width: 420px; max-width: 100vw; height: 100%;
    background: #fff; z-index: 5600;
    display: flex; flex-direction: column;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.22,1,0.36,1);
    box-shadow: -6px 0 32px rgba(0,0,0,0.12);
}
.saved-svc-overlay.open { transform: translateX(0); }
.saved-svc-header {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 22px 20px 16px; border-bottom: 1.5px solid #f0f0f0;
    background: #fff; flex-shrink: 0;
}
.saved-svc-back {
    background: none; border: none; cursor: pointer;
    color: #1c1c1c; font-size: 1.1rem;
    padding: 4px 6px 0 0; margin-top: 2px; flex-shrink: 0;
}
.saved-svc-title-wrap { display: flex; flex-direction: column; }
.saved-svc-title { font-size: 22px; font-weight: 900; color: #1c1c1c; margin: 0 0 6px; }
.saved-svc-underline { width: 44px; height: 3px; background: #7c3aed; border-radius: 2px; }
.saved-svc-toggle {
    display: flex; gap: 10px; padding: 16px 20px 12px; flex-shrink: 0;
}
.sst-btn {
    flex: 1; padding: 11px 0;
    border: 1.5px solid #e0e0e0; border-radius: 30px;
    background: #fff; color: #888;
    font-size: 13px; font-weight: 700;
    cursor: pointer; font-family: inherit; transition: all 0.2s;
}
.sst-btn.active { background: #1c1c1c; color: #fff; border-color: #1c1c1c; }
.saved-svc-content { flex: 1; overflow-y: auto; padding: 4px 0; }
.saved-svc-content::-webkit-scrollbar { width: 4px; }
.saved-svc-content::-webkit-scrollbar-thumb { background: #e0e0e0; border-radius: 4px; }
/* Services View list item */
.ss-svc-item {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px; border-bottom: 1px solid #f3f3f3;
    cursor: pointer; transition: background 0.15s;
}
.ss-svc-item:last-child { border-bottom: none; }
.ss-svc-item:hover { background: #fafafa; }
.ss-svc-thumb {
    width: 62px; height: 62px; border-radius: 10px;
    background: #f3f4f6; flex-shrink: 0;
    display: flex; align-items: center; justify-content: center;
    color: #ccc; font-size: 1.3rem; overflow: hidden;
}
.ss-svc-thumb img { width:100%; height:100%; object-fit:cover; border-radius:10px; }
.ss-svc-name { font-size: 15px; font-weight: 700; color: #1c1c1c; line-height: 1.3; flex: 1; }
/* Category View card */
.ss-cat-card {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px; margin: 0 16px 10px;
    background: #faf8ff; border: 1.5px solid #ede9fe;
    border-radius: 16px; cursor: pointer;
    transition: box-shadow 0.2s, transform 0.15s;
}
.ss-cat-card:first-child { margin-top: 8px; }
.ss-cat-card:hover { box-shadow: 0 4px 18px rgba(124,58,237,0.10); transform: translateY(-1px); }
.ss-cat-icon {
    width: 48px; height: 48px; border-radius: 12px;
    background: #ede9fe; display: flex; align-items: center;
    justify-content: center; flex-shrink: 0;
}
.ss-cat-icon i { font-size: 1.3rem; color: #7c3aed; }
.ss-cat-name { flex: 1; font-size: 16px; font-weight: 800; color: #1c1c1c; }
.ss-cat-arrow { color: #ccc; font-size: 14px; }
.saved-svc-loading { text-align: center; padding: 60px 20px; color: #ccc; }
.saved-svc-loading i { font-size: 1.8rem; margin-bottom: 12px; display: block; }
.saved-svc-loading p { font-size: 13px; margin: 0; }
.saved-svc-empty { text-align: center; padding: 60px 20px; color: #bbb; }
.saved-svc-empty i { font-size: 2.5rem; margin-bottom: 14px; display: block; }
.saved-svc-empty p { font-size: 13px; margin: 0; line-height: 1.5; }

