* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    min-height: 100vh;
    padding: 20px;
    overflow-x: hidden;
    max-width: 100vw;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

header {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

header h1 {
    color: #2d7a8a;
    font-size: 42px;
    text-align: center;
    font-weight: bold;
    letter-spacing: 2px;
}

/* Секция с выпадающими списками */
.dropdowns-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
}

.dropdowns-section h2 {
    color: #2d7a8a;
    margin-bottom: 25px;
    font-size: 24px;
}

.dropdown-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.dropdown-item label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    font-size: 16px;
}

/* Кастомный выпадающий список */
.custom-select {
    position: relative;
    width: 100%;
    user-select: none;
}

.custom-select.disabled {
    opacity: 0.6;
    pointer-events: none;
}

.select-selected {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-weight: 500;
    position: relative;
}

.select-selected:after {
    content: "▼";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 12px;
    transition: transform 0.3s ease;
}

.custom-select.active .select-selected:after {
    transform: translateY(-50%) rotate(180deg);
}

.select-selected:hover {
    border-color: #2d7a8a;
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    color: white;
}

.select-items {
    position: absolute;
    background: white;
    top: calc(100% + 5px);
    left: 0;
    right: 0;
    z-index: 99;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    max-height: 300px;
    overflow-y: auto;
    display: none;
    max-width: 100%;
    box-sizing: border-box;
}

.select-items.calendar-items {
    max-height: none;
    overflow-y: visible;
}

.select-items.active {
    display: block;
}

.select-items div {
    padding: 12px 20px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid #f0f0f0;
}

.select-items div:last-child {
    border-bottom: none;
}

.select-items div:hover {
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    color: white;
}

/* Отменяем стили для элементов календаря */
.calendar-items > div {
    padding: 0;
}

.calendar-items div:hover {
    background: none;
    color: inherit;
}

.calendar-items .calendar-header,
.calendar-items .calendar-weekdays,
.calendar-items .calendar-days {
    padding: 0;
}

.calendar-items .calendar-header div:hover,
.calendar-items .calendar-weekdays div:hover,
.calendar-items .calendar-days div:hover {
    background: none;
    color: inherit;
}

/* Кнопки сортировки */
.sort-controls {
    margin-top: 20px;
    padding: 15px 20px;
    background: #f5f7fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.sort-controls label {
    color: #333;
    font-weight: 600;
    font-size: 15px;
    margin: 0;
}

.sort-btn {
    padding: 10px 20px;
    border: 2px solid #c3cfe2;
    background: white;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    transition: all 0.3s ease;
}

.sort-btn:hover {
    border-color: #2d7a8a;
    background: #e8f4f6;
}

.sort-btn.active {
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    color: white;
    border-color: #2d7a8a;
}

/* Контейнер студентов */
.students-container {
    margin-top: 30px;
}

.students-container .hint {
    text-align: center;
    color: #999;
    font-style: italic;
    font-size: 16px;
    padding: 20px;
}

.students-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(450px, 100%), 1fr));
    gap: 20px;
    margin-top: 20px;
}

.student-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f6 100%);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border-left: 4px solid #2d7a8a;
    transition: all 0.3s ease;
}

.student-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-3px);
}

.student-card h3 {
    color: #1a4d5c;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 600;
}

.student-card .info-row {
    margin: 8px 0;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.student-card .info-row strong {
    color: #2d7a8a;
    font-weight: 600;
}

.student-card .seminar-subtitle {
    margin-top: -4px;
    padding-left: 0;
    color: #333;
    font-size: 14px;
    line-height: 1.6;
}

.student-card .seminar-subtitle strong {
    color: #2d7a8a;
    font-weight: 600;
}

.student-card .stats-row {
    display: flex;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(45, 122, 138, 0.2);
    flex-wrap: wrap;
    gap: 10px;
}

.student-card .stat-item {
    font-size: 15px;
    color: #555;
    font-weight: 500;
}

.student-card .stat-item strong {
    color: #1a4d5c;
    font-weight: 700;
}

.users-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.users-section h2 {
    color: #2d7a8a;
    margin-bottom: 20px;
    font-size: 24px;
}

.table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    color: white;
}

thead th {
    padding: 15px;
    text-align: left;
    font-weight: 600;
    white-space: nowrap;
}

tbody tr {
    border-bottom: 1px solid #e0e0e0;
    transition: background 0.2s ease;
}

tbody tr:hover {
    background: #f5f7fa;
}

tbody td {
    padding: 12px 15px;
    white-space: nowrap;
}

tbody tr:nth-child(even) {
    background: #fafafa;
}

tbody tr:nth-child(even):hover {
    background: #f5f7fa;
}

@media (max-width: 1200px) {
    .dropdown-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .students-grid {
        grid-template-columns: 1fr;
    }

    .student-card .stats-row {
        flex-direction: column;
        gap: 8px;
    }

    .student-card .stat-item {
        width: 100%;
    }

    .sort-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .sort-btn {
        width: 100%;
    }

    body {
        padding: 10px;
    }

    header h1 {
        font-size: 32px;
    }

    .dropdowns-section,
    .users-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 24px;
        letter-spacing: 1px;
    }

    .dropdowns-section h2,
    .users-section h2 {
        font-size: 20px;
    }

    .student-card h3 {
        font-size: 18px;
    }

    .student-card {
        padding: 15px;
    }
}

.loading {
    text-align: center;
    padding: 20px;
    color: #999;
    font-style: italic;
}

/* Навигация по году/месяцу */
.navigation-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin: 20px 0;
    padding: 15px;
    background: #f5f7fa;
    border-radius: 8px;
    flex-wrap: wrap;
}

.navigation-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.nav-btn {
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 10px 20px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 50px;
}

.nav-btn:hover {
    background: linear-gradient(135deg, #0f3a47 0%, #1f5f6f 100%);
    transform: scale(1.05);
}

.nav-btn:active {
    transform: scale(0.95);
}

.nav-label {
    font-size: 20px;
    font-weight: 600;
    color: #1a4d5c;
    min-width: 150px;
    text-align: center;
}

/* Контейнер статистики */
.stats-container {
    margin-top: 20px;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.stats-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f6 100%);
    border-radius: 8px;
    border-left: 4px solid #2d7a8a;
    transition: all 0.3s ease;
}

.stats-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transform: translateX(5px);
}

.stats-item .technologist-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a4d5c;
}

.stats-item .points {
    font-size: 18px;
    font-weight: 700;
    color: #2d7a8a;
}

/* Пагинация */
.pagination {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 30px;
    padding: 20px;
}

.page-btn {
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    color: white;
    border: none;
    border-radius: 5px;
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #0f3a47 0%, #1f5f6f 100%);
    transform: scale(1.05);
}

.page-btn:active:not(:disabled) {
    transform: scale(0.95);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.page-info {
    font-size: 16px;
    font-weight: 600;
    color: #1a4d5c;
    min-width: 150px;
    text-align: center;
}

@media (max-width: 768px) {
    .navigation-container {
        flex-direction: column;
        gap: 15px;
        padding: 10px;
    }

    .navigation-row {
        gap: 10px;
    }

    .nav-btn {
        padding: 8px 15px;
        font-size: 16px;
        min-width: 40px;
    }

    .nav-label {
        font-size: 18px;
        min-width: 120px;
    }

    .stats-item {
        padding: 12px 15px;
    }

    .stats-item .technologist-name {
        font-size: 14px;
    }

    .stats-item .points {
        font-size: 16px;
    }

    .pagination {
        flex-direction: row;
        gap: 15px;
        padding: 15px;
    }

    .page-btn {
        width: 45px;
        height: 45px;
        font-size: 20px;
    }

    .page-info {
        font-size: 14px;
        min-width: auto;
        flex: 1;
    }
}

/* Календарь */
.calendar-items {
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 12px 0 15px 0;
    border-bottom: 1px solid #2d7a8a;
}

.calendar-month-year {
    font-size: 18px;
    font-weight: 700;
    color: #1a4d5c;
}

.calendar-nav-btn {
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 16px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    min-width: 40px;
    min-height: 36px;
}

.calendar-nav-btn:hover {
    background: linear-gradient(135deg, #0f3a47 0%, #1f5f6f 100%);
    transform: scale(1.05);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
    margin-bottom: 5px;
}

.calendar-weekday {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #2d7a8a;
    padding: 5px;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 3px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s ease;
    background: #f5f7fa;
    color: #333;
    padding: 0;
    min-height: 32px;
    box-sizing: border-box;
    border: 2px solid transparent;
    text-align: center;
}

.calendar-day:hover:not(.calendar-day-empty):not(.calendar-day-other-month) {
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    color: white;
    transform: scale(1.05);
}

.calendar-day-empty {
    background: transparent;
    cursor: default;
}

.calendar-day-other-month {
    color: #ccc;
    background: #fafafa;
}

.calendar-day-selected {
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    color: white;
    font-weight: 600;
}

.calendar-day-today {
    border-color: #2d7a8a !important;
    font-weight: 700;
}

@media (max-width: 768px) {
    .dropdown-container {
        grid-template-columns: 1fr;
    }

    .calendar-day {
        font-size: 11px;
        padding: 0;
        min-height: 26px;
        border-width: 1px;
    }

    .calendar-weekday {
        font-size: 10px;
        padding: 3px;
    }

    .calendar-month-year {
        font-size: 13px;
    }

    .calendar-header {
        margin-bottom: 6px;
        padding-bottom: 4px;
    }

    .dropdown-item {
        padding: 0 5px;
    }
}

@media (max-width: 480px) {
    .dropdowns-section {
        overflow-x: hidden;
    }

    .select-items.calendar-items {
        padding: 5px;
    }

    .calendar-items {
        padding: 0px;
        box-sizing: border-box;
        width: 100%;
        overflow: hidden;
    }

    .calendar-days {
        gap: 0px;
        width: 100%;
        display: grid;
        grid-template-columns: repeat(7, 1fr);
    }

    .calendar-day {
        font-size: 9px;
        padding: 1px 0;
        margin: 0;
        height: auto;
        min-height: 26px;
        max-width: 100%;
        border-width: 1px;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        box-sizing: border-box;
        overflow: hidden;
    }

    .calendar-day span {
        display: inline;
        vertical-align: middle;
        white-space: nowrap;
    }

    .calendar-weekday {
        font-size: 6px;
        padding: 0px;
        box-sizing: border-box;
        letter-spacing: -0.5px;
    }

    .calendar-month-year {
        font-size: 10px;
        word-break: break-word;
    }

    .calendar-nav-btn {
        padding: 2px 5px;
        font-size: 10px;
        min-width: 28px;
    }

    .calendar-weekdays {
        gap: 0px;
        width: 100%;
    }

    .calendar-header {
        margin-bottom: 3px;
        padding-bottom: 3px;
        width: 100%;
        box-sizing: border-box;
    }
}

/* Секция управления тестами */
.tests-section {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    margin-bottom: 30px;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.tests-section h2 {
    color: #2d7a8a;
    margin-bottom: 25px;
    font-size: 24px;
}

.tests-controls {
    margin-bottom: 30px;
}

.tests-controls label {
    display: block;
    margin-bottom: 10px;
    color: #333;
    font-weight: 600;
    font-size: 16px;
}

/* Контейнер тестов */
.tests-container {
    margin-top: 30px;
}

.tests-container .hint {
    text-align: center;
    color: #999;
    font-style: italic;
    font-size: 16px;
    padding: 20px;
}

.tests-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Карточка теста */
.test-card {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8f4f6 100%);
    border-radius: 12px;
    border-left: 4px solid #2d7a8a;
    overflow: hidden;
    transition: all 0.3s ease;
    width: 100%;
    box-sizing: border-box;
}

.test-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.test-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #f5f7fa 0%, #e0e7ef 100%);
    transition: background 0.3s ease;
}

.test-header:hover {
    background: linear-gradient(135deg, #e8f4f6 0%, #d5dfe8 100%);
}

.test-header h3 {
    color: #1a4d5c;
    font-size: 20px;
    font-weight: 600;
    margin: 0;
}

.test-header .test-count {
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
}

.test-header .expand-icon {
    font-size: 18px;
    color: #2d7a8a;
    transition: transform 0.3s ease;
    margin-left: 15px;
}

.test-card.expanded .expand-icon {
    transform: rotate(180deg);
}

.test-results {
    display: none;
    padding: 0 20px 20px 20px;
}

.test-card.expanded .test-results {
    display: block;
}

/* Список вопросов */
.questions-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 15px;
}

.question-item {
    background: white;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 3px solid #2d7a8a;
}

.question-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.12);
    transform: translateX(3px);
}

.question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid #e0e7ef;
}

.question-number {
    font-weight: 600;
    color: #1a4d5c;
    font-size: 14px;
}

.question-points {
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.question-text {
    margin: 10px 0;
    color: #333;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.answer-section {
    margin-top: 12px;
    padding: 10px;
    background: linear-gradient(135deg, #e8f4f6 0%, #f5f7fa 100%);
    border-radius: 6px;
    font-size: 14px;
    color: #555;
}

.answer-section strong {
    color: #2d7a8a;
    font-weight: 600;
}

/* Список вариантов ответов */
.answers-list {
    margin-top: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.answer-option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.2s ease;
}

.answer-content {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
}

.answer-actions {
    display: flex;
    gap: 8px;
}

.answer-action {
    border: none;
    background: #ffffff;
    border-radius: 6px;
    padding: 6px 8px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    transition: background 0.2s ease, transform 0.2s ease;
}

.answer-action:hover:not(:disabled) {
    background: #e8f4f6;
    transform: translateY(-1px);
}

.answer-action:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.question-actions {
    margin-top: 10px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.question-action {
    border: none;
    background: linear-gradient(135deg, #1a4d5c 0%, #2d7a8a 100%);
    color: white;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: background 0.2s ease, transform 0.2s ease;
}

.question-action:hover {
    background: linear-gradient(135deg, #0f3a47 0%, #1f5f6f 100%);
    transform: translateY(-1px);
}

.answer-correct {
    background: linear-gradient(135deg, #d4edda 0%, #e8f5e9 100%);
    border-left: 3px solid #28a745;
}

.answer-incorrect {
    background: linear-gradient(135deg, #f8d7da 0%, #ffe5e5 100%);
    border-left: 3px solid #dc3545;
}

.answer-icon {
    font-weight: bold;
    font-size: 16px;
    min-width: 20px;
    text-align: center;
}

.answer-correct .answer-icon {
    color: #28a745;
}

.answer-incorrect .answer-icon {
    color: #dc3545;
}

.answer-text {
    color: #333;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .tests-section {
        padding: 20px;
        overflow-x: hidden;
    }

    .tests-section h2 {
        font-size: 20px;
    }

    .test-header h3 {
        font-size: 16px;
        word-break: break-word;
    }

    .test-header .test-count {
        font-size: 11px;
        padding: 5px 10px;
    }

    .test-header > div {
        flex-wrap: wrap;
        gap: 5px !important;
    }

    .question-item {
        padding: 12px;
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }

    .question-text {
        font-size: 14px;
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .answer-section {
        font-size: 13px;
        padding: 8px;
        overflow-x: hidden;
    }

    .question-points {
        font-size: 11px;
        padding: 3px 8px;
    }

    .answer-option {
        padding: 8px 10px;
        font-size: 13px;
        overflow-x: hidden;
        width: 100%;
        box-sizing: border-box;
    }

    .answer-text {
        word-break: break-word;
        overflow-wrap: break-word;
    }

    .answer-icon {
        font-size: 14px;
        min-width: 18px;
        flex-shrink: 0;
    }

    .answer-actions {
        flex-shrink: 0;
    }
}

@media (max-width: 400px) {
    body {
        padding: 8px;
    }

    .dropdowns-section,
    .tests-section,
    .users-section {
        padding: 12px;
        overflow-x: hidden;
    }

    .dropdown-item {
        padding: 0 3px;
    }

    header h1 {
        font-size: 22px;
    }

    .question-item {
        padding: 10px;
    }

    .test-header {
        padding: 15px;
    }

    .test-header h3 {
        font-size: 14px;
    }

    .test-header .test-count {
        font-size: 10px;
        padding: 4px 8px;
    }

    .answer-option {
        padding: 6px 8px;
        font-size: 12px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .answer-content {
        width: 100%;
    }

    .answer-actions {
        width: 100%;
        justify-content: flex-end;
    }

    .question-action {
        font-size: 12px;
        padding: 5px 10px;
    }

    .select-items.calendar-items {
        padding: 3px;
    }

    .calendar-items {
        padding: 0px;
    }

    .calendar-weekdays,
    .calendar-days {
        gap: 0px;
    }

    .calendar-weekday {
        font-size: 6px;
        padding: 0px;
        letter-spacing: -0.5px;
    }

    .calendar-day {
        font-size: 8px;
        padding: 1px 0;
        min-height: 24px;
    }

    .calendar-nav-btn {
        padding: 2px 4px;
        font-size: 10px;
        min-width: 26px;
    }

    .calendar-month-year {
        font-size: 9px;
    }
}
