/* Shared website flow, feedback and footer. Navigation remains independently scrollable. */
html {
    scroll-behavior: smooth;
}
body.vt-dashboard {
    height: auto;
    min-height: 100vh;
    overflow-y: auto;
}
body.vt-dashboard :is(.owner-shell, .admin-shell) {
    height: auto;
    min-height: 100vh;
    overflow: visible;
}
body.vt-dashboard :is(.owner-main, .admin-main, .student-booking-main) {
    height: auto;
    max-height: none;
    min-height: 100vh;
    overflow: visible;
}
.sr-section {
    margin: 20px 0;
    color: #172b42;
}
.sr-public {
    padding-top: 64px;
    padding-bottom: 64px;
    margin-inline: auto;
}
.sr-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}
.sr-heading h2 {
    font-size: clamp(23px, 3vw, 34px);
    line-height: 1.2;
    margin: 6px 0 10px;
}
.sr-heading p,
.sr-form p {
    color: #516478;
    line-height: 1.6;
    margin: 0 0 14px;
}
.sr-eyebrow {
    color: #087c7b;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
}
.sr-score {
    background: #e7f7f4;
    padding: 18px;
    border-radius: 16px;
    font-size: 32px;
    font-weight: 800;
    white-space: nowrap;
}
.sr-score small {
    display: block;
    font-size: 12px;
    color: #425b6d;
}
.sr-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}
.sr-card {
    border: 1px solid #d9e4eb;
    border-radius: 18px;
    padding: 22px;
    background: linear-gradient(145deg, #fff, #f3faf9);
    box-shadow: 0 8px 24px #132b4210;
    display: flex;
    flex-direction: column;
    min-width: 0;
    transition:
        transform 0.2s,
        box-shadow 0.2s;
}
.sr-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 30px #132b421a;
}
.sr-stars {
    color: #b77600;
    letter-spacing: 0.12em;
    font-size: 22px;
}
.sr-text {
    white-space: pre-wrap;
    overflow-wrap: anywhere;
    line-height: 1.7;
    margin: 14px 0 20px;
}
.sr-author {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px solid #d9e4eb;
}
.sr-author strong,
.sr-author small {
    display: block;
}
.sr-author small {
    margin-top: 5px;
    color: #516478;
    font-size: 12px;
}
.sr-form {
    padding: 22px;
    border: 1px solid #d9e4eb;
    border-radius: 18px;
    background: #fff;
    margin-bottom: 24px;
}
.sr-form h3 {
    margin: 0 0 10px;
}
.sr-form label {
    display: grid;
    gap: 8px;
    font-weight: 700;
    margin: 14px 0;
}
.sr-form :is(select, textarea) {
    box-sizing: border-box;
    width: 100%;
    border: 1px solid #9bb0c0;
    border-radius: 10px;
    padding: 12px;
    font: inherit;
    background: #fff;
    color: #172b42;
}
.sr-form select {
    max-width: 320px;
}
.sr-form textarea {
    resize: vertical;
}
.sr-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}
.sr-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border: 1px solid #087c7b;
    border-radius: 10px;
    background: #087c7b;
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    transition:
        transform 0.2s,
        box-shadow 0.2s,
        background 0.2s;
}
.sr-button-secondary {
    background: #fff;
    color: #176766;
}
.sr-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px #087c7b30;
    background: #075e5d;
    color: #fff;
}
.sr-button:focus-visible {
    outline: 3px solid #f0ae35;
    outline-offset: 3px;
}
.sr-empty {
    padding: 22px;
    background: #eff6f8;
    border: 1px dashed #9bb0c0;
    border-radius: 14px;
}
.vt-site-footer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 40px;
    padding: 24px 0 10px;
    border-top: 1px solid #cfdde6;
    color: #52667a;
}
.vt-site-footer strong {
    color: #173a50;
    font-size: 18px;
}
.vt-site-footer strong span {
    font-weight: 500;
    font-size: 14px;
}
.vt-site-footer p {
    margin: 6px 0;
    font-size: 12px;
    line-height: 1.6;
}
.vt-site-footer > small {
    flex-basis: 100%;
    font-size: 12px;
}
@media (max-width: 1000px) {
    .sr-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}
@media (max-width: 600px) {
    .sr-grid {
        grid-template-columns: 1fr;
    }
    .sr-heading {
        align-items: flex-start;
        flex-direction: column;
    }
    .sr-card,
    .sr-form {
        padding: 18px;
    }
    .sr-public {
        padding-top: 36px;
        padding-bottom: 36px;
    }
    .vt-site-footer {
        align-items: flex-start;
    }
}
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    .sr-card,
    .sr-button {
        transition: none;
    }
    .sr-card:hover,
    .sr-button:hover {
        transform: none;
    }
}
