/* ========================================
   Игропром — Расписание стримов
   Стили в стиле сайта igroprom.online
   ======================================== */

/* === Кнопка «Буду стримить» === */
body .iss-btn-stream-wrap {
    text-align: center;
    margin: 20px 0;
}
body .iss-btn-stream {
    display: inline-block;
    padding: 8px 20px;
    background: #b33530;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}
body .iss-btn-stream:hover {
    opacity: 0.8;
    top: -2px;
    position: relative;
}

/* === Модальное окно === */
body .iss-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}
body .iss-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}
body .iss-modal-content {
    position: relative;
    background: #fff;
    padding: 30px 35px;
    border-radius: 14px;
    box-shadow: 0px 20px 40px rgba(0, 0, 0, 0.2);
    max-width: 460px;
    width: 90%;
    z-index: 1;
}
body .iss-modal-close {
    position: absolute;
    top: 12px;
    right: 16px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: #999;
    line-height: 1;
}
body .iss-modal-close:hover {
    color: #b33530;
}
body .iss-modal-title {
    font-size: 22px;
    text-transform: uppercase;
    color: #000;
    text-align: center;
    margin: 0 0 20px;
}

/* === Форма === */
body .iss-form-group {
    margin-bottom: 16px;
}
body .iss-form-group label {
    display: block;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
    color: #333;
}
body .iss-input {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid #dcdcdc;
    border-radius: 6px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}
body .iss-input:focus {
    border-color: #b33530;
    outline: none;
}
body .iss-hint {
    display: block;
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
body .iss-btn-submit {
    display: block;
    width: 100%;
    padding: 14px;
    background: #b33530;
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    cursor: pointer;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    margin-top: 10px;
}
body .iss-btn-submit:hover {
    opacity: 0.85;
}
body .iss-btn-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
body .text {
    margin-bottom: 80px;
    box-shadow: none;
}

/* === Календарь === */
body .iss-calendar-wrap {
    max-width: 900px;
    margin: 0 auto;
    margin-bottom: 60px;
    font-family: 'Inter', Arial, sans-serif;
}
body .iss-calendar-header {
    margin-bottom: 20px;
}
body .iss-section-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 28px;
    text-transform: uppercase;
    color: #fff;
    background: #b33530;
    padding: 12px 30px;
    border-radius: 10px;
    text-align: center;
}
body .iss-section-subtitle {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 20px;
    text-transform: uppercase;
    color: #b33530;
    margin: 25px 0 15px;
}

/* Вкладки */
body .iss-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 24px;
    border-bottom: 2px solid #dcdcdc;
}
body .iss-tab {
    padding: 10px 24px;
    background: none;
    border: none;
    border-bottom: 3px solid transparent;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #999;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-bottom: -2px;
}
body .iss-tab:hover {
    color: #333;
}
body .iss-tab.active {
    color: #b33530;
    border-bottom-color: #b33530;
}
body .iss-my-streams-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
body .iss-my-streams-empty {
    text-align: center;
    color: #999;
    padding: 40px 20px;
    font-size: 15px;
}

/* Подсказка */
body .iss-calendar-hint {
    background: #f3f3f3;
    border-radius: 10px;
    padding: 12px 20px;
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
    text-align: center;
    line-height: 140%;
}
body .iss-calendar-hint a {
    color: #b33530;
    font-weight: 600;
    text-decoration: none;
}
body .iss-calendar-hint a:hover {
    text-decoration: underline;
}

/* Навигация по месяцам */
body .iss-calendar-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 20px;
}
body .iss-nav-btn {
    background: #fff;
    border: 2px solid #dcdcdc;
    border-radius: 50px;
    padding: 8px 18px;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.05);
}
body .iss-nav-btn:hover {
    border-color: #b33530;
    color: #b33530;
}
body .iss-current-month {
    font-size: 22px;
    text-transform: uppercase;
    min-width: 200px;
    text-align: center;
}

/* Фильтры */
body .iss-calendar-filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
body .iss-filter-input {
    flex: 1;
    padding: 10px 14px;
    border: 2px solid #dcdcdc;
    border-radius: 6px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
}
body .iss-filter-input:focus {
    border-color: #b33530;
    outline: none;
}
body .iss-btn-search {
    padding: 10px 24px;
    background: #b33530;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
}
body .iss-btn-search:hover {
    opacity: 0.85;
}
body .iss-btn-search:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
body .iss-search-results {
    margin: 20px 0;
}
body .iss-search-results-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}
body .iss-no-results {
    text-align: center;
    color: #999;
    padding: 20px;
    font-size: 14px;
}

/* Сетка календаря */
body .iss-calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 2px;
}
body .iss-day-header {
    background: #b33530;
    color: #fff;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    padding: 10px 0;
}
body .iss-day-header:first-child {
    border-radius: 10px 0 0 0;
}
body .iss-day-header:last-child {
    border-radius: 0 10px 0 0;
}
body .iss-calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}
body .iss-day {
    background: #fff;
    min-height: 80px;
    padding: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    position: relative;
}
body .iss-day:hover {
    background: #f3f3f3;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
}
body .iss-day.iss-today {
    border: 2px solid #b33530;
}
body .iss-day.iss-other-month {
    opacity: 0.3;
}
body .iss-day-number {
    font-weight: 700;
    font-size: 16px;
    color: #333;
    margin-bottom: 4px;
}
body .iss-day.iss-today .iss-day-number {
    color: #b33530;
}
body .iss-day-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #b33530;
    border-radius: 50%;
    margin-right: 2px;
}
body .iss-day-count {
    font-size: 11px;
    color: #999;
    margin-top: 4px;
}

/* Детали дня */
body .iss-day-details {
    margin-top: 20px;
}
body .iss-details-title {
    font-family: 'Inter', Arial, sans-serif;
    font-size: 18px;
    text-transform: uppercase;
    color: #333;
    margin-bottom: 15px;
}
body .iss-details-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

/* Карточка стрима */
body .iss-stream-card {
    background: #fff;
    /* box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1); */
    overflow: hidden;
    transition: all 0.3s ease;
    border-top: 1px solid #f3f3f3;
}
body .iss-stream-card:first-child {
    border: none;
} 
 
body .iss-stream-card-cover {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}
body .iss-stream-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
body .iss-stream-card:hover .iss-stream-card-cover img {
    transform: scale(1.05);
}
body .iss-stream-card-body {
    padding: 14px 18px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    gap: 10px 14px;
    align-items: center;
}
body .iss-stream-card-info {
    grid-column: 1;
    grid-row: 1;
}
body .iss-stream-card-clock {
    grid-column: 2;
    grid-row: 1;
}
body .iss-stream-card-actions {
    grid-column: 1 / -1;
    grid-row: 2;
}

/* Дата и время */
body .iss-stream-card-clock {
    display: flex;
    align-items: center;
    gap: 8px;
}
body .iss-clock-date {
    background: #b33530;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
    padding: 5px 10px;
    border-radius: 6px;
    white-space: nowrap;
}
body .iss-clock-time {
    font-size: 16px;
    font-weight: 800;
    color: #333;
}
body .iss-clock-tbd .iss-clock-date {
    background: #999;
}
body .iss-stream-card-info {
    min-width: 0;
}
body .iss-stream-card-game {
    font-weight: 700;
    font-size: 16px;
    color: #000;
    margin-bottom: 2px;
}
body .iss-stream-card-game a {
    color: #000;
    text-decoration: none;
}
body .iss-stream-card-game a:hover {
    color: #b33530;
}
body .iss-stream-card-streamer {
    font-size: 13px;
    color: #666;
    
}
body .iss-stream-card-time {
    font-size: 13px;
    color: #999;
}
body .iss-stream-card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}
body .iss-stream-link {
    display: inline-block;
    padding: 6px 16px;
    background: #b33530;
    color: #fff !important;
    border-radius: 50px;
    font-size: 12px;
    font-family: 'Inter', Arial, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}
body .iss-stream-link:hover {
    opacity: 0.8;
}
body .iss-stream-plan-btn {
    cursor: pointer;
    border: none;
}
body .iss-stream-platform-link {
    display: inline-block;
    padding: 6px 16px;
    background: #fff;
    color: #b33530 !important;
    border: 1px solid #b33530;
    border-radius: 50px;
    font-size: 12px;
    font-family: 'Inter', Arial, sans-serif;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
}
body .iss-stream-platform-link:hover {
    background: #b33530;
    color: #fff !important;
}
body .iss-stream-cancel {
    padding: 6px 14px;
    background: #eee;
    color: #999;
    border: none;
    border-radius: 50px;
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}
body .iss-stream-cancel:hover {
    background: #b33530;
    color: #fff;
}
body .iss-stream-delete {
    background: none;
    border: none;
    color: #ccc;
    cursor: pointer;
    padding: 4px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}
body .iss-stream-delete:hover {
    color: #dc3232;
}
body .iss-stream-status-completed .iss-clock-date {
    background: #4caf50;
}
body .iss-stream-status-cancelled {
    opacity: 0.6;
}
body .iss-stream-status-cancelled .iss-clock-date {
    background: #999;
}
body .iss-stream-cancelled-label {
    color: #dc3232;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 4px 12px;
    border: 1px solid #dc3232;
    border-radius: 50px;
}

/* Кнопка "В календарь" */
body .iss-stream-cal-btn {
    background: none;
    border: 1px solid #dcdcdc;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}
body .iss-stream-cal-btn:hover {
    border-color: #b33530;
    background: #fef3f3;
}

/* Меню выбора календаря */
body .iss-cal-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 14px;
    box-shadow: 0px 10px 40px rgba(0,0,0,0.25);
    padding: 20px 24px;
    z-index: 100000;
    min-width: 240px;
}
body .iss-cal-menu-title {
    font-weight: 700;
    font-size: 15px;
    margin-bottom: 12px;
    color: #333;
}
body .iss-cal-menu-item {
    display: block;
    padding: 10px 14px;
    margin: 4px 0;
    background: #f3f3f3;
    border-radius: 8px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.2s ease;
}
body .iss-cal-menu-item:hover {
    background: #b33530;
    color: #fff;
}
body .iss-cal-menu-close {
    position: absolute;
    top: 10px;
    right: 14px;
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    color: #999;
}

/* Блок без даты */
body .iss-unscheduled {
    margin-top: 30px;
}
body .iss-unscheduled-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 16px;
}

/* === Блок стримов в карточке игры === */
body .iss-game-streams {
    margin-top: 20px;
}
body .iss-game-streams .iss-stream-card-body {
    flex-direction: row;
    align-items: center;
    gap: 14px;
}
body .iss-game-streams .iss-stream-card-info {
    flex: 1;
    min-width: 0;
}
body .iss-game-streams .iss-stream-card-game {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
body .iss-game-streams .iss-stream-card-streamer {
    font-family: 'Molot', Arial, sans-serif;
    font-size: 20px;
    text-transform: uppercase;
}
body .iss-game-streams .iss-stream-card-streamer a {
    color: #333;
    text-decoration: none;
}
body .iss-game-streams .iss-stream-card-streamer a:hover {
    color: #b33530;
}
body .iss-actions-center {
    justify-content: center;
}
body .iss-game-streams-title {
    font-size: 20px;
    text-align: center;
    text-transform: uppercase;
    color: #b33530;
    margin-bottom: 20px;
    margin-top: 20px;
}

/* === Страница «О расписании» === */
body .iss-about {
    max-width: 800px;
    margin: 0 auto;
    font-family: 'Inter', Arial, sans-serif;
}
body .iss-about-intro {
    text-align: center;
    font-size: 16px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
}
body .iss-about-steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 30px;
}
body .iss-about-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: #fff;
    padding: 20px 25px;
    border-radius: 14px;
    box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.1);
    border-bottom: 6px solid #b63630;
}
body .iss-about-card-number {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: #b33530;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}
body .iss-about-card-content h3 {
    margin: 0 0 6px;
    font-size: 17px;
    color: #000;
}
body .iss-about-card-content p {
    margin: 0;
    font-size: 14px;
    color: #555;
    line-height: 1.5;
}
body .iss-about-roles {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 10px;
}
body .iss-about-role {
    background: #f3f3f3;
    padding: 20px 25px;
    border-radius: 14px;
}
body .iss-about-role-title {
    background: #b33530;
    color: #fff;
    display: inline-block;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}
body .iss-about-role ul {
    margin: 0;
    padding-left: 18px;
    font-size: 14px;
    color: #333;
    line-height: 1.7;
}
body .iss-about-role a {
    color: #b33530;
    text-decoration: underline;
}

/* === Адаптив === */
@media (max-width: 768px) {
    body .iss-calendar-filters {
        flex-direction: column;
    }
    body .iss-day {
        min-height: 50px;
        padding: 4px;
    }
    body .iss-day-number {
        font-size: 13px;
    }
    body .iss-day-count {
        display: none;
    }
    body .iss-modal-content {
        padding: 20px;
    }
    body .iss-section-title {
        font-size: 20px;
        padding: 10px 15px;
    }
    body .iss-about-card {
        flex-direction: column;
        gap: 12px;
    }
    body .iss-about-roles {
        grid-template-columns: 1fr;
    }
}
