/* Zavier theme-owned stylesheet; visual tokens are finalized by css/theme.css. */
/* Source: app/Modules/Survei/Views/index.php */

.survey-list-page {
    --survey-blue: #1f5fae;
    --survey-blue-dark: #16477f;
    --survey-blue-soft: #eaf2fb;
    --survey-border: #d8e3ef;
    --survey-text: #172b43;
    --survey-muted: #64748b;
    min-height: 100vh;
    padding: 104px 20px 76px;
    color: var(--survey-text);
    background: #f4f7fa
}

.survey-list-shell {
    width: 100%;
    max-width: 820px;
    margin: 0 auto
}

.survey-page-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    padding: 18px 20px;
    background: #fff;
    border: 1px solid var(--survey-border);
    border-radius: 10px
}

.survey-back,.survey-heading-icon,.survey-item-icon,.survey-item-arrow,.survey-empty-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center
}

.survey-back {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: var(--survey-blue-dark);
    background: var(--survey-blue-soft);
    border: 1px solid #c8dbef;
    border-radius: 10px;
    text-decoration: none
}

.survey-back:hover,.survey-back:focus {
    color: #fff;
    background: var(--survey-blue);
    border-color: var(--survey-blue)
}

.survey-heading-icon {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    color: var(--survey-blue);
    background: var(--survey-blue-soft);
    border-radius: 10px
}

.survey-page-header svg {
    width: 21px;
    height: 21px
}

.survey-heading {
    min-width: 0;
    flex: 1
}

.survey-heading h1 {
    margin: 0;
    color: var(--survey-text);
    font-size: clamp(1.3rem,2.3vw,1.7rem);
    font-weight: 700;
    line-height: 1.25
}

.survey-heading p {
    margin: 3px 0 0;
    color: var(--survey-muted);
    font-size: .86rem;
    line-height: 1.45
}

.survey-alert {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding: 13px 15px;
    color: #225d43;
    background: #edf8f2;
    border: 1px solid #bfe1ce;
    border-radius: 10px;
    font-size: .84rem
}

.survey-alert svg {
    flex: 0 0 19px;
    width: 19px;
    height: 19px
}

.survey-panel,.survey-empty {
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--survey-border);
    border-radius: 10px;
    box-shadow: 0 3px 12px rgba(22,71,127,.04)
}

.survey-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 17px 20px;
    border-bottom: 1px solid #e6edf5
}

.survey-panel-heading h2,.survey-empty h2 {
    margin: 0;
    color: var(--survey-text);
    font-size: 1rem;
    font-weight: 700
}

.survey-panel-heading p {
    margin: 3px 0 0;
    color: var(--survey-muted);
    font-size: .76rem
}

.survey-count {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 31px;
    height: 31px;
    padding: 0 9px;
    color: var(--survey-blue-dark);
    background: var(--survey-blue-soft);
    border-radius: 10px;
    font-size: .8rem;
    font-weight: 700
}

.survey-list {
    display: grid
}

.survey-item {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
    padding: 17px 20px;
    color: inherit;
    border-bottom: 1px solid #e9eff5;
    text-decoration: none;
    transition: background-color .18s ease
}

.survey-item:last-child {
    border-bottom: 0
}

.survey-item:hover,.survey-item:focus {
    color: inherit;
    background: #f5f9fd
}

.survey-item-icon {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    color: var(--survey-blue);
    background: var(--survey-blue-soft);
    border-radius: 10px
}

.survey-item-icon svg {
    width: 20px;
    height: 20px
}

.survey-item-content {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column
}

.survey-item-content>strong {
    color: #21384f;
    font-size: .92rem;
    font-weight: 700;
    line-height: 1.4
}

.survey-description {
    display: -webkit-box;
    margin-top: 3px;
    overflow: hidden;
    color: var(--survey-muted);
    font-size: .78rem;
    line-height: 1.45;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.survey-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px 12px;
    margin-top: 9px;
    color: #718398;
    font-size: .7rem
}

.survey-meta>span {
    display: inline-flex;
    align-items: center;
    gap: 5px
}

.survey-meta svg {
    width: 13px;
    height: 13px
}

.survey-badge {
    padding: 4px 7px;
    color: var(--survey-blue-dark);
    background: var(--survey-blue-soft);
    border-radius: 7px;
    font-weight: 650
}

.survey-item-arrow {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    color: var(--survey-blue);
    background: #f2f6fa;
    border-radius: 10px
}

.survey-item-arrow svg {
    width: 18px;
    height: 18px
}

.survey-empty {
    display: flex;
    min-height: 320px;
    padding: 36px 24px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center
}

.survey-empty-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 15px;
    color: var(--survey-blue);
    background: var(--survey-blue-soft);
    border-radius: 10px
}

.survey-empty-icon svg {
    width: 30px;
    height: 30px
}

.survey-empty p {
    max-width: 430px;
    margin: 7px 0 18px;
    color: var(--survey-muted);
    font-size: .84rem;
    line-height: 1.55
}

.survey-empty a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 42px;
    padding: 8px 14px;
    color: #fff;
    background: var(--survey-blue);
    border-radius: 10px;
    font-size: .82rem;
    font-weight: 700;
    text-decoration: none
}

.survey-empty a svg {
    width: 17px;
    height: 17px
}

@media(max-width:768px) {
    .survey-list-page {
        padding: 76px 12px calc(92px + env(safe-area-inset-bottom))
    }
    .survey-page-header {
        gap: 10px;
        margin: 0 0 12px;
        padding: 16px;
        border-radius: 10px;
        border: 1px solid #e8eef4;
    }
    .survey-heading-icon {
        display: none
    }
    .survey-heading p {
        font-size: .75rem
    }
    .survey-panel,.survey-empty {
        border-radius: 10px;
        border: 1px solid #e8eef4;
        box-shadow: none;
        margin: 0 0 12px;
    }
    .survey-panel-heading {
        padding: 14px
    }
    .survey-item {
        gap: 11px;
        padding: 14px
    }
    .survey-item-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px
    }
    .survey-item-arrow {
        flex-basis: 30px;
        width: 30px;
        height: 30px
    }
    .survey-meta {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px
    }
}
