.fyc-fast-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
}

.fyc-year-selector-fast {
    text-align: center;
    margin-bottom: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.fyc-year-buttons-fast {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
}

.fyc-year-btn-fast {
    padding: 10px 20px;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-weight: bold;
    transition: all 0.2s;
}

.fyc-year-btn-fast:hover {
    background: #e9ecef;
}

.fyc-year-btn-fast.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
}

.fyc-custom-year-fast {
    margin-top: 15px;
}

.fyc-custom-year-fast input {
    padding: 8px 12px;
    border: 1px solid #ced4da;
    border-radius: 4px;
    margin-right: 10px;
}

.fyc-custom-year-fast button {
    padding: 8px 16px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.fyc-months-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

.fyc-month-fast {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.fyc-month-fast h3 {
    margin: 0 0 15px 0;
    text-align: center;
    font-size: 16px;
}

.fyc-month-fast h3 a {
    color: #007bff;
    text-decoration: none;
}

.fyc-month-fast table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.fyc-month-fast th {
    padding: 8px 4px;
    background: #f8f9fa;
    font-weight: 600;
    border: 1px solid #dee2e6;
    text-align: center;
}

.fyc-month-fast td {
    padding: 8px 4px;
    border: 1px solid #e9ecef;
    text-align: center;
    position: relative;
    height: 35px;
}

.fyc-empty {
    background: #f8f9fa;
}

.fyc-weekend {
    background: #fff5f5;
    color: #dc3545;
}

.fyc-today {
    background: #e7f3ff;
    border: 2px solid #007bff !important;
    font-weight: bold;
}

.fyc-holiday {
    background: #fff3cd;
}

.fyc-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    color: #ff6b6b;
    font-weight: bold;
    font-size: 14px;
}

.fyc-current-day-fast {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.fyc-status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin: 10px 0;
}

.fyc-status-badge.weekend {
    background: #dc3545;
    color: white;
}

.fyc-status-badge.workday {
    background: #28a745;
    color: white;
}

.fyc-breadcrumbs-fast {
    margin-bottom: 20px;
    font-size: 14px;
}

.fyc-breadcrumbs-fast a {
    color: #007bff;
    text-decoration: none;
}

/* Адаптивность */
@media (max-width: 768px) {
    .fyc-months-grid {
        grid-template-columns: 1fr;
    }
    
    .fyc-year-buttons-fast {
        gap: 5px;
    }
    
    .fyc-year-btn-fast {
        padding: 8px 12px;
        font-size: 14px;
    }
}

/* Стили для страниц месяца и дня */
.fyc-month-page,
.fyc-day-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

.fyc-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
}

.fyc-breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.fyc-navigation {
    margin-bottom: 20px;
}

.fyc-back-btn {
    display: inline-block;
    padding: 8px 16px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
}

.fyc-back-btn:hover {
    background: #e9ecef;
}

/* Детальный календарь месяца */
.fyc-month-detailed table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.fyc-month-detailed th {
    padding: 12px 8px;
    background: #f8f9fa;
    font-weight: 600;
    border: 1px solid #dee2e6;
    text-align: center;
}

.fyc-month-detailed td {
    padding: 12px 8px;
    border: 1px solid #e9ecef;
    text-align: center;
    height: 60px;
    vertical-align: top;
    position: relative;
}

.fyc-day-link {
    display: block;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    height: 100%;
}

.fyc-holiday-dots {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    text-align: center;
}

.fyc-holiday-dots .fyc-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ff6b6b;
    border-radius: 50%;
    margin: 0 1px;
}

/* Список праздников месяца */
.fyc-month-holidays {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
}

.fyc-holidays-list {
    display: grid;
    gap: 10px;
}

.fyc-holiday-item {
    padding: 10px;
    border-left: 3px solid #007bff;
    background: #f8f9fa;
}

.fyc-weekend-badge {
    display: inline-block;
    padding: 2px 6px;
    background: #dc3545;
    color: white;
    border-radius: 3px;
    font-size: 11px;
    margin-left: 10px;
}

/* Страница дня */
.fyc-day-info {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin: 20px 0;
}

.fyc-day-holidays {
    margin-top: 20px;
}

.fyc-holidays-grid {
    display: grid;
    gap: 15px;
    margin-top: 15px;
}

.fyc-holiday-card {
    padding: 20px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    background: #f8f9fa;
}

.fyc-holiday-card h3 {
    margin: 0 0 10px 0;
    color: #333;
}

.fyc-holiday-content {
    color: #666;
    line-height: 1.5;
}

.fyc-weekend-indicator {
    display: inline-block;
    padding: 4px 8px;
    background: #dc3545;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    margin-top: 10px;
}

.fyc-day-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

.fyc-nav-btn {
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
}

.fyc-nav-btn:hover {
    background: #e9ecef;
}

.fyc-no-holidays {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
}

/* Адаптивность */
@media (max-width: 768px) {
    .fyc-month-detailed td {
        padding: 8px 4px;
        height: 50px;
        font-size: 14px;
    }
    
    .fyc-day-navigation {
        flex-direction: column;
        gap: 10px;
    }
    
    .fyc-nav-btn {
        text-align: center;
    }
}


/* Стили для страниц месяца и дня */
.fyc-month-page-wrapper,
.fyc-day-page-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: Arial, sans-serif;
    background: white;
}

.fyc-month-page,
.fyc-day-page {
    background: white;
}

.fyc-breadcrumbs {
    margin-bottom: 20px;
    font-size: 14px;
    color: #666;
    padding: 10px 0;
}

.fyc-breadcrumbs a {
    color: #007bff;
    text-decoration: none;
}

.fyc-breadcrumbs a:hover {
    text-decoration: underline;
}

.fyc-navigation {
    margin-bottom: 30px;
}

.fyc-back-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
    transition: all 0.2s;
}

.fyc-back-btn:hover {
    background: #e9ecef;
    text-decoration: none;
}

/* Детальный календарь месяца */
.fyc-month-detailed {
    margin: 30px 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fyc-month-detailed table {
    width: 100%;
    border-collapse: collapse;
}

.fyc-month-detailed th {
    padding: 15px 10px;
    background: #f8f9fa;
    font-weight: 600;
    border: 1px solid #dee2e6;
    text-align: center;
    color: #495057;
}

.fyc-month-detailed td {
    padding: 15px 10px;
    border: 1px solid #e9ecef;
    text-align: center;
    height: 80px;
    vertical-align: top;
    position: relative;
    transition: background-color 0.2s;
}

.fyc-month-detailed td:hover {
    background: #f8f9fa;
}

.fyc-day-link {
    display: block;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
    font-size: 16px;
    height: 100%;
    padding: 5px;
}

.fyc-holiday-dots {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    text-align: center;
}

.fyc-holiday-dots .fyc-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff6b6b;
    border-radius: 50%;
    margin: 0 2px;
}

/* Список праздников месяца */
.fyc-month-holidays {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fyc-month-holidays h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 24px;
}

.fyc-holidays-list {
    display: grid;
    gap: 15px;
}

.fyc-holiday-item {
    padding: 20px;
    border-left: 4px solid #007bff;
    background: #f8f9fa;
    border-radius: 4px;
}

.fyc-holiday-date {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.fyc-holiday-date strong {
    font-size: 16px;
    color: #333;
}

.fyc-weekend-badge {
    display: inline-block;
    padding: 4px 8px;
    background: #dc3545;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.fyc-holiday-title {
    font-size: 18px;
    font-weight: bold;
    color: #007bff;
    margin-bottom: 8px;
}

.fyc-holiday-content {
    color: #666;
    line-height: 1.5;
    font-size: 14px;
}

/* Страница дня */
.fyc-day-info {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 40px;
    margin: 30px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.fyc-day-status {
    margin-bottom: 30px;
}

.fyc-status-badge {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
}

.fyc-status-badge.weekend {
    background: #dc3545;
    color: white;
}

.fyc-status-badge.workday {
    background: #28a745;
    color: white;
}

.fyc-day-holidays h2 {
    margin: 0 0 20px 0;
    color: #333;
    font-size: 24px;
}

.fyc-holidays-grid {
    display: grid;
    gap: 20px;
}

.fyc-holiday-card {
    padding: 25px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    background: #f8f9fa;
    transition: transform 0.2s;
}

.fyc-holiday-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.fyc-holiday-card h3 {
    margin: 0 0 15px 0;
    color: #007bff;
    font-size: 20px;
}

.fyc-holiday-content {
    color: #666;
    line-height: 1.6;
    font-size: 15px;
    margin-bottom: 15px;
}

.fyc-weekend-indicator {
    display: inline-block;
    padding: 6px 12px;
    background: #dc3545;
    color: white;
    border-radius: 4px;
    font-size: 12px;
    font-weight: bold;
}

.fyc-day-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    gap: 15px;
}

.fyc-nav-btn {
    padding: 12px 24px;
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    text-decoration: none;
    color: #495057;
    font-size: 14px;
    transition: all 0.2s;
    flex: 1;
    text-align: center;
}

.fyc-nav-btn:hover {
    background: #e9ecef;
    text-decoration: none;
}

.fyc-no-holidays {
    text-align: center;
    padding: 40px;
    color: #666;
    font-style: italic;
    font-size: 16px;
}

/* Адаптивность */
@media (max-width: 768px) {
    .fyc-month-page-wrapper,
    .fyc-day-page-wrapper {
        padding: 10px;
    }
    
    .fyc-month-detailed td {
        padding: 10px 5px;
        height: 60px;
        font-size: 14px;
    }
    
    .fyc-day-navigation {
        flex-direction: column;
    }
    
    .fyc-holiday-card {
        padding: 15px;
    }
    
    .fyc-month-holidays,
    .fyc-day-info {
        padding: 20px;
    }
}

/* Новые стили для точек праздников */
.fyc-dot-regular {
    color: #ffc107; /* Желтый для обычных праздников */
}

.fyc-dot-weekend {
    color: #dc3545; /* Красный для праздников-выходных */
}

/* Убедимся, что не-выходные праздники не выделяются цветом */
.fyc-holiday {
    background: #fff3cd !important; /* Только для дней с праздниками-выходными */
}

/* Улучшим стили выбора года */
.fyc-year-selector-fast {
    text-align: center;
    margin-bottom: 30px;
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
}

.fyc-year-buttons-fast {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.fyc-year-btn-fast {
    padding: 12px 20px;
    background: white;
    border: 2px solid #dee2e6;
    border-radius: 8px;
    text-decoration: none;
    color: #495057;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 80px;
}

.fyc-year-btn-fast:hover {
    background: #e9ecef;
    border-color: #adb5bd;
    transform: translateY(-2px);
}

.fyc-year-btn-fast.active {
    background: #007bff;
    color: white;
    border-color: #007bff;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.fyc-custom-year-fast {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.fyc-custom-year-fast input {
    padding: 10px 15px;
    border: 2px solid #dee2e6;
    border-radius: 6px;
    font-size: 16px;
    width: 120px;
    text-align: center;
}

.fyc-custom-year-fast button {
    padding: 10px 20px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background 0.3s;
}

.fyc-custom-year-fast button:hover {
    background: #218838;
}