/* Clinic Survey / Forms list page */
:root {
    --sv-nav-height: 80px;
    --sv-brand: #009ae0;
    --sv-brand-dark: #0077b3;
    --sv-brand-light: #e6f6fd;
    --sv-text: #0f172a;
    --sv-text-muted: #64748b;
    --sv-border: #e2e8f0;
    --sv-bg: #f0f4f8;
    --sv-radius: 16px;
    --sv-shadow: 0 1px 3px rgba(15, 23, 42, 0.06), 0 4px 20px rgba(15, 23, 42, 0.05);
    --sv-shadow-hover: 0 8px 28px rgba(15, 23, 42, 0.12);
}

@media (max-width: 768px) {
    :root {
        --sv-nav-height: 60px;
    }
}

.sv-wrap {
    margin-top: -50px;
    padding-top: var(--sv-nav-height);
    background: var(--sv-bg);
    min-height: 100vh;
    padding-bottom: 3rem;
}

.sv-page {
    max-width: 960px;
    margin: 0 auto;
    padding: 0.35rem 1.25rem 0;
    direction: rtl;
    text-align: right;
}

.sv-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem;
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    font-size: 0.8125rem;
    color: var(--sv-text-muted);
}

.sv-breadcrumb a {
    color: var(--sv-brand);
    text-decoration: none;
}

.sv-breadcrumb a:hover {
    color: var(--sv-brand-dark);
}

.sv-breadcrumb li:not(:last-child)::after {
    content: "›";
    margin-right: 0.35rem;
    color: #94a3b8;
}

.sv-breadcrumb li:last-child {
    color: var(--sv-text);
    font-weight: 500;
}

.sv-hero {
    background: linear-gradient(135deg, #fff 0%, var(--sv-brand-light) 100%);
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    padding: 1.5rem 1.75rem;
    margin-bottom: 1.25rem;
    box-shadow: var(--sv-shadow);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sv-hero-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--sv-brand), var(--sv-brand-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 154, 224, 0.35);
}

.sv-hero-icon .material-icons {
    font-size: 28px;
}

.sv-hero-text h1 {
    margin: 0 0 0.35rem;
    font-size: 1.35rem !important;
    font-weight: 700;
    color: var(--sv-text);
    line-height: 1.45;
}

.sv-hero-text p {
    margin: 0;
    font-size: 0.875rem;
    color: var(--sv-text-muted);
    line-height: 1.6;
}

.sv-notice {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    background: #fff;
    border: 1px solid var(--sv-border);
    border-right: 4px solid var(--sv-brand);
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-bottom: 1.5rem;
    box-shadow: var(--sv-shadow);
    font-size: 0.875rem;
    line-height: 1.7;
    color: #334155;
}

.sv-notice .material-icons {
    flex-shrink: 0;
    font-size: 22px;
    color: var(--sv-brand);
    margin-top: 0.1rem;
}

.sv-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
}

@media (max-width: 640px) {
    .sv-grid {
        grid-template-columns: 1fr;
    }

    .sv-hero {
        flex-direction: column;
        align-items: flex-start;
        padding: 1.15rem;
    }
}

.sv-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    background: #fff;
    border: 1px solid var(--sv-border);
    border-radius: 14px;
    padding: 1rem 1.1rem;
    text-decoration: none;
    color: inherit;
    box-shadow: var(--sv-shadow);
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    min-height: 88px;
}

.sv-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--sv-shadow-hover);
    border-color: rgba(0, 154, 224, 0.35);
}

.sv-card-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--sv-brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sv-brand-dark);
    transition: background 0.2s, color 0.2s;
}

.sv-card:hover .sv-card-icon {
    background: var(--sv-brand);
    color: #fff;
}

.sv-card-icon .material-icons {
    font-size: 22px;
}

.sv-card-body {
    flex: 1;
    min-width: 0;
}

.sv-card-title {
    margin: 0;
    font-size: 0.9375rem !important;
    font-weight: 700;
    line-height: 1.55;
    color: var(--sv-text);
}

.sv-card-desc {
    margin: 0.25rem 0 0;
    font-size: 0.75rem;
    color: var(--sv-text-muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sv-card-arrow {
    flex-shrink: 0;
    color: #cbd5e1;
    transition: color 0.2s, transform 0.2s;
}

.sv-card:hover .sv-card-arrow {
    color: var(--sv-brand);
    transform: translateX(-3px);
}

.sv-card-arrow .material-icons {
    font-size: 20px;
}

.sv-empty {
    grid-column: 1 / -1;
    background: #fff;
    border: 1px solid var(--sv-border);
    border-radius: var(--sv-radius);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--sv-shadow);
}

.sv-empty-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--sv-brand-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--sv-brand);
}

.sv-empty-icon .material-icons {
    font-size: 36px;
}

.sv-empty p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--sv-text-muted);
    line-height: 1.7;
}
