/* Импорт шрифта */
@import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed&display=swap');

/* Общие стили для обертки */
.ruscable-plugin-wrapper {
    color: #ffffff; /* белый цвет текста */
    font-family: 'Roboto Condensed', sans-serif;
}

/* Заголовки внутри блока */
.ruscable-plugin-wrapper h1,
.ruscable-plugin-wrapper h2,
.ruscable-plugin-wrapper h3,
.ruscable-plugin-wrapper h4,
.ruscable-plugin-wrapper h5,
.ruscable-plugin-wrapper h6 {
    font-weight: 500;
    margin-block-start: 0.5rem;
    margin-block-end: 1rem;
    line-height: 1;
    color: inherit;
    font-family: inherit;
}
.ruscable-plugin-wrapper h1 { font-size: 20px; }
.ruscable-plugin-wrapper h2 { font-size: 18px; }
.ruscable-plugin-wrapper h3 { font-size: 16px; }

/* Остальной текст внутри блока */
.ruscable-plugin-wrapper p,
.ruscable-plugin-wrapper span,
.ruscable-plugin-wrapper a,
.ruscable-plugin-wrapper div {
    font-weight: 400;
    line-height: 1;
    font-size: 12px;
    font-family: inherit;
}

/* Логотип */
.modal-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 15px;
}
.logo-image {
    width: 150px;
    height: auto;
    filter: grayscale(100%) brightness(0.8);
    cursor: pointer;
    transition: filter 0.3s, transform 0.3s;
}
.logo-image:hover {
    filter: grayscale(100%) brightness(1.2);
    transform: scale(1.05);
}

/* Уведомление cookie */
.cookie-notice {
    position: fixed;
    bottom: 10px;
    left: 10px;
    max-width: 600px;
    width: calc(100% - 20px);
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 10px 15px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    z-index: 9999;
    font-family: 'Roboto Condensed', sans-serif;
    color: #fff;
}
.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.cookie-content p {
    margin: 0;
    flex: 1;
    color: #fff;
}
.cookie-content span {
    color: #add8e6;
    cursor: pointer;
    text-decoration: underline;
}

/* Иконка сайта */
.site-icon {
    display: inline-block;
    width: 30px;
    height: 30px;
    margin: 10px;
    flex-shrink: 0;
}
.site-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.3s, filter 0.3s;
}
.site-icon:hover img {
    transform: scale(1.1);
    filter: brightness(1.2);
}

/* Кнопка "Принять" */
#cookie-accept {
    margin-left: 10px;
    background-color: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 2px 4px;
    font-size: 14px;
    border-radius: 3px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.3s;
}
#cookie-accept:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

/* Футер */
.footer-block {
    background-color: black;
    color: white;
    padding: 10px 0;
    font-size: 8px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.5);
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.footer-content {
    display: flex;
    justify-content: space-evenly;
    max-width: 1200px;
    width: 100%;
    flex-wrap: wrap;
    align-items: center;
}
.footer-column {
    flex: 0 0 9%;
    text-align: center;
    margin: 10px 20px;
    opacity: 0.4;
}
.footer-column img {
    max-height: 50px;
    max-width: 90px;
    cursor: pointer;
    transition: opacity 0.3s;
}
.footer-column img:hover {
    opacity: 0.8;
}
.footer-links {
    text-align: center;
    margin-top: 10px;
}
.footer-links span,
.footer-links a {
    cursor: pointer;
    margin: 0 10px;
    display: inline-block;
    color: #b1b1b1;
    font-size: 11px;
}

/* Модальные окна */
.masha-modal {
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    display: none;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.masha-modal-content {
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    padding: 20px;
    border-radius: 8px;
    max-height: 80%;
    overflow-y: auto;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    position: relative;
    display: flex;
    flex-direction: column;
}
.masha-close {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 28px;
    font-weight: bold;
    color: #e74c3c;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    transition: color 0.3s, transform 0.2s;
}
.masha-close:hover {
    color: #c0392b;
    transform: scale(1.1);
}
