* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'YekanBakhFaNum';
    src: url('YekanBakhFaNum-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

:root {
    --primary-color: #2563eb;
    --secondary-color: #60a5fa;
    --text-color: #1f2a44;
    --background-color: #f9fafb;
    --error-color: #dc2626;
    --warning-color: #f7c948;
    --card-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'YekanBakhFaNum', 'Vazirmatn', 'Arial', sans-serif;
    background-color: var(--background-color);
    color: var(--text-color);
    direction: rtl;
    line-height: 1.6;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.app-header {
    background: linear-gradient(90deg, #1e40af, var(--secondary-color));
    color: #fff;
    padding: 16px 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    box-shadow: var(--card-shadow);
    min-height: 64px;
}

h1 {
    font-size: clamp(18px, 5vw, 24px);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
}

.verify-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.verify-icon {
    width: 16px;
    height: 16px;
    color: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
    transition: var(--transition);
}

.verify-icon:hover {
    transform: scale(1.2);
}

.verify-tooltip {
    visibility: hidden;
    position: absolute;
    top: -36px;
    right: -10px;
    background: linear-gradient(90deg, #1e40af, var(--primary-color));
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 8px;
    white-space: nowrap;
    z-index: 10;
    opacity: 0;
    transform: translateY(-5px);
    transition: opacity 0.4s ease, transform 0.4s ease, visibility 0s 0.4s;
    box-shadow: var(--card-shadow);
}

.verify-wrapper:hover .verify-tooltip,
.verify-wrapper:active .verify-tooltip {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.floating-back-button {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
}

.floating-back-button:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-50%) scale(1.1);
}

.back-icon {
    width: 20px;
    height: 20px;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    flex-grow: 1;
    padding: 12px;
}

.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #fff;
    box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1);
    padding: 10px;
    z-index: 1000;
    display: flex;
    justify-content: space-around;
    align-items: center;
    will-change: transform;
}

.bottom-nav-item {
    flex: 1;
    padding: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #6b7280;
    background: transparent;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    transition: var(--transition);
    font-family: 'YekanBakhFaNum', 'Vazirmatn', 'Arial', sans-serif;
}

.bottom-nav-item.active {
    color: #fff;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    box-shadow: var(--card-shadow);
}

.bottom-nav-item:hover {
    background: #e5e7eb;
    transform: translateY(-2px);
}

.nav-icon {
    width: 24px;
    height: 24px;
    stroke: currentColor;
    transition: var(--transition);
}

.bottom-nav-item.active .nav-icon {
    transform: scale(1.1);
}

.tab-content {
    display: none;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tab-content.active {
    display: block;
    opacity: 1;
}

.card {
    background-color: #fff;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    width: 100%;
    max-width: 1200px;
}

.card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.teacher-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    background-color: #e5e7eb;
}

.teacher-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: var(--transition);
}

.teacher-image:hover img {
    transform: scale(1.02);
}

.teacher-image::after {
    content: "استادسنج";
    position: absolute;
    bottom: 8px;
    left: 8px;
    font-size: 11px;
    color: #fff;
    background-color: rgba(37, 99, 235, 0.9);
    padding: 5px 10px;
    border-radius: 6px;
}

.teacher-claim {
    margin: 10px 0;
    font-size: 13px;
    color: #6b7280;
    text-align: center;
}

.claim-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    padding: 3px 6px;
    border-bottom: 1px dashed var(--primary-color);
    transition: var(--transition);
}

.claim-link:hover {
    color: #1e40af;
    background-color: rgba(37, 99, 235, 0.15);
    border-radius: 6px;
}

.info-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 16px;
}

.info-item {
    background-color: #f3f4f6;
    padding: 10px;
    border-radius: 10px;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.info-item:hover {
    background-color: #e5e7eb;
    transform: translateY(-2px);
}

.info-item-long {
    flex-wrap: wrap;
    max-height: 80px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #e5e7eb;
}

.info-item-long::-webkit-scrollbar {
    width: 6px;
}

.info-item-long::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 4px;
}

.info-item-long::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.info-item-long::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}

.info-icon {
    width: 18px;
    height: 18px;
    stroke: var(--primary-color);
    flex-shrink: 0;
}

.info-item strong {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
}

.info-item span {
    color: var(--text-color);
    flex: 1;
    font-size: 13px;
}

.separator {
    border: 0;
    border-top: 1px solid #e5e7eb;
    margin: 16px 0;
}

.rating-summary {
    margin-top: 16px;
}

.rating-summary h3 {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 12px;
}

.rating-items {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.rating-item {
    display: flex;
    align-items: stretch;
    gap: 10px;
}

.rating-card {
    background-color: #fff;
    border-radius: 10px;
    padding: 12px;
    flex: 1;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.rating-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.rating-item h4 {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 8px;
    font-weight: 500;
}

.rating-item .bar {
    width: 100%;
    height: 12px;
    background-color: #e5e7eb;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.rating-item .bar::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: calc(var(--rating) * 100%);
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
    border-radius: 6px;
    animation: fillBar 1.5s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: 0.3s;
}

@keyframes fillBar {
    from {
        width: 0;
    }
    to {
        width: calc(var(--rating) * 100%);
    }
}

.rating-item .bar::after {
    content: attr(data-rating);
    position: absolute;
    top: -20px;
    right: 6px;
    font-size: 12px;
    color: var(--text-color);
    font-weight: 600;
}

.rating-item .value {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
    margin-top: 8px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.rating-item .value::after {
    content: "★";
    color: var(--warning-color);
    font-size: 13px;
}

.rating-item .desc {
    font-size: 12px;
    color: #6b7280;
    margin-top: 4px;
}

.strengths-weaknesses {
    margin-top: 16px;
    position: relative;
    padding-bottom: 32px;
}

.strength::before {
    content: "✓";
    color: var(--primary-color);
}

.item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 12px;
    position: relative;
    padding-left: 20px;
}

.item::before {
    font-size: 14px;
    width: 16px;
    text-align: center;
}

.weakness::before {
    content: "✗";
    color: var(--error-color);
}

.item h3 {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 700;
    margin-bottom: 5px;
}

.item p {
    font-size: 13px;
    color: #6b7280;
}

.report-error {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    color: var(--error-color);
    text-decoration: none;
    background: transparent;
    padding: 5px 10px;
    border-radius: 10px;
    border: 1px solid var(--error-color);
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    transition: var(--transition);
    font-family: 'YekanBakhFaNum', 'Vazirmatn', 'Arial', sans-serif;
}

.report-error:hover {
    background: var(--error-color);
    color: #fff;
    border-color: transparent;
    transform: translateX(-50%) translateY(-2px);
}

.comment-form {
    margin-bottom: 16px;
    padding: 16px;
    background: #fff;
    border-radius: 12px;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
}

.comment-form:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.comment-form label {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 600;
    margin-bottom: 8px;
    display: block;
}

.star-rating {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.star-rating input {
    display: none;
}

.star-rating label {
    font-size: 20px;
    color: #d1d5db;
    cursor: pointer;
    transition: var(--transition);
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
    color: var(--warning-color);
    transform: scale(1.2);
}

.star-rating .error-message {
    font-size: 12px;
    color: var(--error-color);
    display: none;
    margin-right: 8px;
    margin-top: 4px;
}

.comment-section textarea {
    width: 100%;
    height: 100px;
    padding: 12px;
    font-size: 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    resize: none;
    background-color: var(--background-color);
    margin-bottom: 12px;
    transition: var(--transition);
    font-family: 'YekanBakhFaNum', 'Vazirmatn', 'Arial', sans-serif;
}

.comment-section textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 8px rgba(37, 99, 235, 0.2);
    outline: none;
}

.comment-section .actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.comment-section button {
    padding: 10px 20px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'YekanBakhFaNum', 'Vazirmatn', 'Arial', sans-serif;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    touch-action: manipulation;
    transition: var(--transition);
}

.comment-section button:disabled {
    background: #93c5fd;
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.comment-section button:hover:not(:disabled) {
    background: linear-gradient(90deg, #1e40af, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

.comment-section .submit-icon {
    width: 16px;
    height: 16px;
    stroke: #fff;
}

.comment-section .char-count {
    font-size: 12px;
    padding: 6px 10px;
    background-color: #f3f4f6;
    border-radius: 10px;
    font-family: 'YekanBakhFaNum', 'Vazirmatn', 'Arial', sans-serif;
    transition: color 0.3s ease;
}

.comment-section .char-count.warning {
    color: var(--error-color);
}

.comment-section .char-count.safe {
    color: #10b981;
}

.comment-section .error-message {
    font-size: 12px;
    color: var(--error-color);
    display: none;
    margin-bottom: 10px;
}

.comments-list {
    max-height: 400px;
    overflow-y: auto;
    padding-left: 6px;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-color) #e5e7eb;
}

.comments-list::-webkit-scrollbar {
    width: 6px;
}

.comments-list::-webkit-scrollbar-track {
    background: #e5e7eb;
    border-radius: 4px;
}

.comments-list::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

.comments-list::-webkit-scrollbar-thumb:hover {
    background: #1e40af;
}

.no-comments {
    text-align: center;
    color: #6b7280;
    font-size: 14px;
    padding: 16px;
    background: var(--background-color);
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

.comment {
    margin-bottom: 12px;
    padding: 12px;
    background-color: #fff;
    border-radius: 10px;
    position: relative;
    box-shadow: var(--card-shadow);
    transition: var(--transition);
    animation: fadeIn 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.comment:hover {
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.comment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.comment-date {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.comment-rating {
    color: var(--warning-color);
    font-size: 14px;
}

.report-comment {
    font-size: 12px;
    color: var(--error-color);
    text-decoration: none;
    position: absolute;
    left: 8px;
    bottom: 8px;
    padding: 4px 8px;
    background: transparent;
    border-radius: 8px;
    font-weight: 500;
    transition: var(--transition);
    font-family: 'YekanBakhFaNum', 'Vazirmatn', 'Arial', sans-serif;
}

.report-comment:hover {
    background: #fef2f2;
    color: var(--error-color);
    transform: translateY(-1px);
}

.summary-section {
    margin-top: 16px;
    padding: 12px;
    background: #fff;
    border-radius: 10px;
    box-shadow: var(--card-shadow);
}

.summary-content {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.summary-content p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.7;
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

footer {
    text-align: center;
    padding: 20px 12px;
    color: #6b7280;
    font-size: 12px;
    border-top: 1px solid #e5e7eb;
    margin-top: 24px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 6px;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 12px;
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.footer-links a:hover {
    color: #1e40af;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal-content {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.modal-content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.modal-close {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 22px;
    color: #6b7280;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    color: var(--error-color);
    transform: rotate(90deg);
}

.modal-content h2 {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 10px;
    text-align: center;
}

.modal-content p {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 16px;
    text-align: center;
    line-height: 1.6;
}

.parametric-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.parametric-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f3f4f6;
}

.parametric-item:last-child {
    border-bottom: none;
}

.parametric-item label {
    font-size: 13px;
    color: var(--text-color);
    font-weight: 500;
    flex: 1;
}

.parametric-rating {
    display: flex;
    gap: 6px;
}

.parametric-rating input {
    display: none;
}

.parametric-rating label {
    font-size: 18px;
    color: #d1d5db;
    cursor: pointer;
    transition: var(--transition);
}

.parametric-rating input:checked ~ label,
.parametric-rating label:hover,
.parametric-rating label:hover ~ label {
    color: var(--warning-color);
    transform: scale(1.15);
}

.parametric-form .actions {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 16px;
}

.parametric-form button {
    padding: 10px 20px;
    font-size: 13px;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'YekanBakhFaNum', 'Vazirmatn', 'Arial', sans-serif;
}

#parametric-submit-btn {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: #fff;
    border: none;
}

#parametric-submit-btn:hover {
    background: linear-gradient(90deg, #1e40af, var(--primary-color));
    transform: translateY(-2px);
    box-shadow: var(--card-shadow);
}

#parametric-skip-btn {
    background: #fff;
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

#parametric-skip-btn:hover {
    background: #fef2f2;
    color: var(--error-color);
    transform: translateY(-2px);
}

.toast {
    padding: 10px 16px;
    margin-top: 10px;
    border-radius: 8px;
    color: #fff;
    font-size: 12px;
    animation: slideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1), slideOut 0.4s cubic-bezier(0.4, 0, 0.2, 1) 2.6s forwards;
}

.toast.success {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.toast.error {
    background: var(--error-color);
}

@keyframes slideIn {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(20px);
        opacity: 0;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        transform: translateY(20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (min-width: 1200px) {
    .teacher-image {
        aspect-ratio: 16 / 9;
    }
}

@media (min-width: 1025px) {
    .container {
        display: grid;
        grid-template-columns: 2fr 1fr;
        gap: 16px;
    }

    .bottom-nav {
        display: none;
    }

    .tab-content {
        display: block !important;
        opacity: 1 !important;
    }

    .app-header {
        padding: 20px 28px;
    }

    h1 {
        font-size: 26px;
    }

    .floating-back-button {
        width: 44px;
        height: 44px;
    }

    .back-icon {
        width: 22px;
        height: 22px;
    }

    .card {
        padding: 16px;
    }

    .info-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }

    .info-item {
        padding: 14px;
        font-size: 14px;
        border-radius: 12px;
    }

    .info-item-long {
        max-height: 100px;
    }

    .info-item strong {
        font-size: 16px;
    }

    .info-item span {
        font-size: 14px;
    }

    .info-icon {
        width: 20px;
        height: 20px;
    }

    .rating-items {
        flex-direction: row;
        gap: 16px;
    }

    .rating-card {
        flex: 1;
        padding: 16px;
    }

    .rating-item h4 {
        font-size: 14px;
    }

    .rating-item .bar {
        height: 14px;
    }

    .rating-item .bar::after {
        font-size: 13px;
        top: -22px;
    }

    .rating-item .value {
        font-size: 15px;
    }

    .rating-item .desc {
        font-size: 13px;
    }

    .comment-form {
        padding: 20px;
        border-radius: 14px;
    }

    .comment-form label {
        font-size: 15px;
    }

    .star-rating label {
        font-size: 24px;
    }

    .comment-section textarea {
        height: 120px;
        font-size: 15px;
        border-radius: 10px;
    }

    .comment-section button {
        padding: 12px 24px;
        font-size: 15px;
    }

    .comment-section .submit-icon {
        width: 18px;
        height: 18px;
    }

    .comment-section .char-count {
        font-size: 13px;
        padding: 8px 12px;
    }

    .comments-list {
        max-height: 500px;
        padding-left: 8px;
    }

    .comment {
        padding: 16px;
        border-radius: 12px;
    }

    .comment-header {
        margin-bottom: 10px;
    }

    .comment-date {
        font-size: 13px;
    }

    .comment-rating {
        font-size: 15px;
    }

    .report-comment {
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media (max-width: 1024px) {
    .container {
        padding: 10px;
    }

    .app-header {
        padding: 14px 16px;
    }

    h1 {
        font-size: 22px;
    }

    .teacher-image {
        aspect-ratio: 16 / 9;
    }

    .card {
        padding: 12px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 8px;
    }

    .card {
        padding: 10px;
    }

    h1 {
        font-size: 20px;
    }

    .verify-icon {
        width: 14px;
        height: 14px;
    }

    .verify-tooltip {
        font-size: 11px;
        padding: 5px 10px;
        top: -32px;
    }

    .bottom-nav-item {
        font-size: 11px;
        padding: 8px;
    }

    .nav-icon {
        width: 22px;
        height: 22px;
    }

    .info-item {
        padding: 10px;
    }

    .rating-card {
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 6px;
    }

    .teacher-image {
        aspect-ratio: 16 / 9;
    }

    .card {
        padding: 8px;
    }

    h1 {
        font-size: 18px;
    }

    .verify-icon {
        width: 12px;
        height: 12px;
    }

    .verify-tooltip {
        font-size: 10px;
        padding: 4px 8px;
        top: -30px;
        right: -6px;
    }

    .rating-item .bar {
        height: 10px;
    }

    .rating-item .bar::after {
        font-size: 11px;
        top: -18px;
    }

    .rating-item .value {
        font-size: 13px;
    }

    .rating-item .desc {
        font-size: 11px;
    }

    .comment-form label {
        font-size: 13px;
    }

    .star-rating label {
        font-size: 18px;
    }

    .comment-section textarea {
        height: 90px;
        font-size: 13px;
    }

    .comment-section button {
        padding: 8px 16px;
        font-size: 13px;
    }

    .comment-section .submit-icon {
        width: 14px;
        height: 14px;
    }

    .comment-section .char-count {
        font-size: 11px;
    }

    .comments-list {
        max-height: 350px;
    }

    .modal-content {
        width: 92%;
        padding: 16px;
    }

    .modal-content h2 {
        font-size: 16px;
    }

    .modal-content p {
        font-size: 12px;
    }

    .parametric-item label {
        font-size: 12px;
    }

    .parametric-rating label {
        font-size: 16px;
    }

    .parametric-form button {
        padding: 8px 16px;
        font-size: 12px;
    }

    .bottom-nav-item {
        font-size: 10px;
        padding: 6px;
    }

    .nav-icon {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 360px) {
    .modal-content {
        width: 95%;
        padding: 12px;
    }

    .card {
        padding: 6px;
    }

    .star-rating label {
        font-size: 16px;
    }

    .parametric-rating label {
        font-size: 14px;
    }

    .bottom-nav-item {
        font-size: 9px;
        padding: 5px;
    }

    .info-item {
        padding: 8px;
    }

    .rating-card {
        padding: 8px;
    }
}