.volunteer-dashboard-page {
    padding-top: 34px;
    padding-bottom: 28px;
}

.volunteer-dashboard-container {
    max-width: 1120px;
}

.volunteer-dashboard-header {
    margin-bottom: 20px;
}

.volunteer-dashboard-header h1 {
    margin: 0 0 10px;
    font-size: 3rem;
    line-height: 1.08;
    letter-spacing: -0.02em;
}

.volunteer-dashboard-header p {
    margin: 0;
    max-width: 760px;
    color: #697089;
    font-size: 1.08rem;
    line-height: 1.65;
}

.volunteer-dashboard-top-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.volunteer-back-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    background: #f1f2f8;
    color: #555a75;
    border: 1px solid #e2e4f2;
    transition: all 0.18s ease;
}

.volunteer-back-link:hover {
    background: #e7e9f6;
    border-color: #d6d9ef;
    color: #43486a;
}

.volunteer-back-link:active {
    transform: translateY(1px);
}

.volunteer-school-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    margin-bottom: 22px;
}

.volunteer-school-card,
.volunteer-evaluations-card,
.volunteer-empty-card {
    border-radius: 28px;
    overflow: hidden;
}

.volunteer-school-card-body,
.volunteer-evaluations-card .card-body,
.volunteer-empty-card .card-body {
    padding: 28px;
}

.volunteer-school-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid #ececf6;
}

.volunteer-school-header h2 {
    margin: 0 0 8px;
    font-size: 2rem;
    line-height: 1.1;
}

.volunteer-school-header p {
    margin: 0;
    color: #707792;
    font-size: 1rem;
}

.volunteer-school-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

.volunteer-classroom-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.volunteer-classroom-card {
    background: #f9f9fe;
    border: 1px solid #e8e9f5;
    border-radius: 22px;
    padding: 20px;
    transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.volunteer-classroom-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(93, 98, 170, 0.08);
    border-color: #dcdff2;
}

.volunteer-classroom-top {
    margin-bottom: 14px;
}

.volunteer-classroom-top h3 {
    margin: 0 0 6px;
    font-size: 1.3rem;
    line-height: 1.2;
}

.volunteer-classroom-top p {
    margin: 0;
    color: #707792;
}

.volunteer-classroom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.volunteer-classroom-actions {
    display: flex;
    justify-content: flex-start;
}

.volunteer-classroom-actions .button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.volunteer-evaluations-card .profile-section-heading {
    margin-bottom: 18px;
}

.volunteer-evaluations-card .profile-section-heading h2 {
    margin-bottom: 8px;
}

.volunteer-evaluations-card .profile-section-heading p {
    color: #707792;
}

@media (max-width: 900px) {
    .volunteer-dashboard-page {
        padding-top: 24px;
    }

    .volunteer-school-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .volunteer-school-tags {
        justify-content: flex-start;
    }

    .volunteer-classroom-grid {
        grid-template-columns: 1fr;
    }

    .volunteer-dashboard-header h1 {
        font-size: 2.45rem;
    }
}

@media (max-width: 640px) {
    .volunteer-dashboard-page {
        padding-top: 18px;
        padding-bottom: 20px;
    }

    .volunteer-dashboard-top-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .volunteer-school-card-body,
    .volunteer-evaluations-card .card-body,
    .volunteer-empty-card .card-body {
        padding: 20px;
    }

    .volunteer-dashboard-header {
        margin-bottom: 16px;
    }

    .volunteer-dashboard-header h1 {
        font-size: 2rem;
    }

    .volunteer-dashboard-header p {
        font-size: 1rem;
        line-height: 1.55;
    }

    .volunteer-school-header h2 {
        font-size: 1.7rem;
    }

    .volunteer-classroom-card {
        padding: 16px;
    }
}
.volunteer-school-card {
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    padding-top: 0;
}

.volunteer-school-cover {
    width: 100%;
    height: 170px;
    overflow: hidden;
    background: linear-gradient(135deg, #dcdff3, #eef1fb);
    border-bottom: 1px solid #ececf6;
}

.volunteer-school-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.volunteer-school-cover-placeholder {
    background:
        linear-gradient(135deg, rgba(129, 124, 197, 0.18), rgba(129, 124, 197, 0.05)),
        linear-gradient(90deg, #eef1fb 0%, #dde3f4 100%);
}

.volunteer-school-card-body {
    padding: 26px 28px 28px;
    margin-top: 0;
}

.volunteer-school-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 18px;
    margin-bottom: 22px;
}

.volunteer-school-header h2 {
    margin: 0 0 6px;
    font-size: 2rem;
    line-height: 1.1;
}

.volunteer-school-header p {
    margin: 0;
    color: #707792;
}

.volunteer-school-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: flex-end;
}

@media (max-width: 900px) {
    .volunteer-school-cover {
        height: 140px;
    }

    .volunteer-school-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .volunteer-school-tags {
        justify-content: flex-start;
    }
}
.volunteer-school-card {
    padding-top: 0;
}

.volunteer-school-card-body {
    position: relative;
    margin-top: -18px;
    background: #fff;
    border-radius: 24px 24px 0 0;
}