﻿.source-data-container-annual-aspect {
    position: absolute;
    width: 1081px;
    height: 834px;
    left: 100px;
    top: 100px;
}

.source-data-title-annual-aspect {
    position: absolute;
    width: 1081px;
    height: 80px;
    font-size: 14px;
    text-align: center;
    background: #EFECE6;
    border: 1px solid #A38C7C;
    border-radius: 20px;
    font-family: 'Ysabeau Infant Medium';
    font-weight: 500;
    color: #3F2E21;
    padding-top: 10px;
    cursor: grab; /* ✅ Можно двигать */
    z-index: 5 !important;
    top: 10px;
    display: flex;
    align-items: flex-start; /* 🔹 Выравниваем текст и иконку */
    justify-content: start;
}


.source-data-icon-annual-aspect {
    width: 11px; /* 🔹 Размер иконки */
    height: 11px;
    margin-right: 10px; /* 🔹 Отступ между иконкой и текстом */
    margin-left: 14px;
    margin-top: 6px;
}

.source-data-icons-annual-aspect {
    display: flex;
    justify-content: flex-start; /* ✅ Центрируем элементы */
    gap: 2px; /* ✅ Добавляем расстояние между кнопками */
    align-items: center;
    margin-top: 12px;
    margin-left: 10px;
    margin-bottom: 10px;
    border-radius: 10px;
    padding-left: 5px;
}

    .source-data-icons-annual-aspect button {
        font-family: 'Wstartt'; /* ✅ Применяем шрифт ко всем кнопкам */
        font-style: normal;
        font-weight: 500;
        font-size: 30px;
        line-height: 40px;
        text-transform: uppercase;
        color: #A38C7C;
        width: 40px;
        height: 40px;
        border-radius: 10px;
        border: none;
    }

        .source-data-icons-annual-aspect button:hover {
            background-color: #EFECE6; /* ✅ Цвет при наведении */
            transform: scale(1.05); /* ✅ Легкое увеличение */
        }

        .source-data-icons-annual-aspect button:active {
            background-color: #EFECE6; /* ✅ Цвет при нажатии */
            transform: scale(0.95); /* ✅ Легкое уменьшение */
        }

        .source-data-icons-annual-aspect button[data-active="false"] {
            position: relative; /* ✅ Фиксируем линии внутри кнопки */
        }

            .source-data-icons-annual-aspect button[data-active="false"]::before,
            .source-data-icons-annual-aspect button[data-active="false"]::after {
                content: "";
                position: absolute;
                width: 100%;
                height: 1px; /* ✅ Толщина линии */
                background: #A38C7C; /* ✅ Цвет линии */
                top: 50%;
                left: 0;
            }

            .source-data-icons-annual-aspect button[data-active="false"]::before {
                transform: rotate(45deg); /* ✅ Первая линия */
            }

            .source-data-icons-annual-aspect button[data-active="false"]::after {
                transform: rotate(-45deg); /* ✅ Вторая линия */
            }

.aspect-type-switch-annual-aspect {
    display: flex;
    gap: 10px; /* ✅ Регулируем расстояние между блоками */
    align-items: center; /* ✅ Выравниваем все элементы */
}

    .aspect-type-switch-annual-aspect label {
        display: flex;
        align-items: center; /* ✅ Выравниваем чекбокс и текст */
        font-family: 'Ysabeau Infant Medium';
        font-style: normal;
        font-weight: 500;
        font-size: 14px;
        line-height: 19px;
        color: #3F2E21;
        cursor: pointer;
    }

    .aspect-type-switch-annual-aspect input[type="checkbox"] {
        appearance: none; /* ✅ Убираем стандартное оформление */
        width: 18px;
        height: 18px;
        border: 2px solid #3F2E21;
        border-radius: 4px;
        cursor: pointer;
        margin-left: 17px; /* ✅ Уменьшаем расстояние между текстом и чекбоксом */
    }

        .aspect-type-switch-annual-aspect input[type="checkbox"]:checked {
            background-color: #A38C7C; /* ✅ Изменяем фон при установке галочки */
            border-color: #A38C7C;
        }

.source-data-button-annual-aspect {
    /*position: absolute;*/
    width: 75px;
    height: 22px;
    background: #E9E4DD;
    border-radius: 20px;
    top: 140px;
    left: 202px;
    font-family: 'Ysabeau Infant Medium';
    font-style: normal;
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #3F2E21;
    text-align: center;
}

.source-data-wrapper-annual-aspect {
    position: relative;
    width: 1081px;
    height: 654px;
    background: #FFFFFF;
    border: 1px solid #A38C7C;
    border-radius: 20px;
    margin-top: 50px; /* ✅ Отступ, чтобы заголовок был отдельно */
    z-index: 100000 !important;
}

.flex-container-annual-aspect {
    display: flex;
    gap: 20px;
    margin-top: 10px;
    margin-left: 17px;
    margin-right: 10px;
    overflow-x: auto; /* ✅ Добавляем скролл */
}

.flex-column-annual-aspect {
    /*flex: 1;*/
    border: 1px solid #ccc;
    padding: 10px;
    background-color: #f9f9f9;
    /* width: 250px;*/
    min-height: 540px;
    max-height: 540px; /* ✅ Ограничиваем высоту */
    overflow-y: auto; /* ✅ Добавляем скролл для каждого столбца */
    flex: 0 0 260px;
}

.column-title-annual-aspect {    
    margin-bottom: 10px;
    text-align: center;
    font-family: 'Wstartt';
    font-style: normal;
    font-weight: 500;
    font-size:23px;
    line-height: 16px;
    color: #3F2E21;
}

.aspect-row-annual-aspect {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    border-bottom: 1px dashed #ddd;
}

.planet-name-annual-aspect {
    font-weight: bold; /* ✅ Выделяем название планеты */
    /*color: #3F2E21;  ✅ Тёмный цвет для контраста */
    font-size: 25px; /* ✅ Увеличиваем размер */
}

.planet-data-annual-aspect {
    font-family: 'Ysabeau Infant Medium';
    color: #3F2E21; /* ✅ Серый цвет, чтобы отличалось от названия */
    font-size: 10px;
}

.planet-date-time-annual-aspect {
    font-family: 'Ysabeau Infant Medium';
    /*color: #3F2E21;  ✅ Серый цвет, чтобы отличалось от названия */
    font-size: 14px;
}



.close-button-annual-aspect {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    font-size: 18px;
    color: #A38C7C;
    cursor: pointer;
}

#mercuryAnnualAspect, #sunAnnualAspect {
    color: #A38C7C;
}

.annual-aspect-tooltip {
    position: fixed;
    background-color: rgba(0, 0, 0, 0.85);
    color: white;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-family: monospace;
    z-index: 999999;
    pointer-events: none; /* Чтобы тултип не перехватывал события мыши */
    white-space: pre-wrap;
    max-width: 300px;
    word-wrap: break-word;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.2);
    transition: opacity 0.15s ease;
}

.aspect-row-annual-aspect.has-tooltip {
    cursor: pointer;
    transition: background-color 0.2s ease;
}

    .aspect-row-annual-aspect.has-tooltip:hover {
        background-color: rgba(255, 255, 0, 0.1);
    }

    .aspect-row-annual-aspect.has-tooltip:focus {
        outline: 1px solid rgba(255, 255, 0, 0.5);
        background-color: rgba(255, 255, 0, 0.15);
    }
