﻿.list-aspects-source-data-container {
    position: absolute;
    width: fit-content; /* ← Автоширина по содержимому */
    min-width: 250px; /* ← Минимальная ширина */
    max-width: 800px; /* ← Максимальная ширина */
    height: auto;
    min-height: 250px;
    max-height: none; /* убрали ограничение */
    overflow: visible;
    left: 100px;
    top: 100px;
    display: flex;
    flex-direction: column;
    background: transparent; /* Прозрачный фон, т.к. фон у дочерних элементов */
    /*resize: both;  Возможность изменять размер мышкой */
    /* overflow: hidden; Скрываем лишнее, т.к. внутри своя прокрутка */
}

.list-aspects-source-data-title {
    position: relative;
    width: auto; /* ← Ширина по содержимому */
    min-width: 250px;
    min-height: 80px;
    max-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: 100000 !important;*/
    top: 10px;
    display: flex;
    align-items: flex-start; /* 🔹 Выравниваем текст и иконку */
    justify-content: start;
}


.list-aspects-source-data-icon {
    width: 11px; /* 🔹 Размер иконки */
    height: 11px;
    margin-right: 10px; /* 🔹 Отступ между иконкой и текстом */
    margin-left: 14px;
    margin-top: 6px;
}

.list-aspects-source-data-wrapper {
    position: relative;
    width: auto; /* ← Ширина по содержимому */
    min-width: 250px; /* ← Минимальная ширина */
    height: auto; /* ← Высота по содержимому */
    min-height: 150px; /* ← Минимальная высота */   
    background: #FFFFFF;
    border: 1px solid #A38C7C;
    border-radius: 20px;
    margin-top: -30px; /* ✅ Отступ, чтобы заголовок был отдельно */
/*    z-index: 100000 !important;*/
    overflow-y: auto;
    padding-right: 0px !important;
    padding-top: 10px !important;
}


.list-aspects-planet {
    font-family: "Wstartt";
    font-size: 15px;
}

.list-aspects-house, .list-aspects-aspect {
    font-family: sans-serif;
    font-size: 13px;
}

.list-aspects-angle {
    font-family: sans-serif;
    font-size: 10px;
}

.list-aspects-russian {
    font-size: 11px;
}

.list-aspects-house {
    border: 1px solid black;
    padding: 2px;
    display: inline-block;
    width: 20px;
    text-align: center;
}

.list-aspects-close-button {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    font-size: 18px;
    color: #A38C7C;
    cursor: pointer;
}

.list-aspects-source-data-wrapper table {
    border-collapse: collapse;
    width: 85%;
    margin: auto;
    /*text-align: center; */   
}

.list-aspects-source-data-wrapper td {
    padding: 0px; /* 🔹 Уменьшаем отступ */
    line-height: 1.3; /* 🔹 Делаем строки более компактными */
}