﻿.source-data-container {
    position: absolute;
    width: 298px;
    height: auto;
    left: 100px;
    top: 100px;
}

.source-data-title {
    position: absolute;
    width: 300px;
    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: 1000 !important;
    top: 10px;
    display: flex;
    align-items: flex-start; /* 🔹 Выравниваем текст и иконку */
    justify-content: start;
}


.source-data-icon {
    width: 11px; /* 🔹 Размер иконки */
    height: 11px;
    margin-right: 10px; /* 🔹 Отступ между иконкой и текстом */
    margin-left: 14px;
    margin-top: 6px;
}

.source-data-icons {
    display: flex;
    justify-content: flex-start; /* ✅ Центрируем элементы */
    gap: 2px; /* ✅ Добавляем расстояние между кнопками */
    align-items: center;
    margin-top: 12px;
    margin-left: 10px;
    margin-bottom: 10px;
}

    .source-data-icons button {
        border: none;
        background: none;
        padding: 5px;
        cursor: pointer;
    }
        .source-data-icons button.initial_data-active-button {
            background-color: #E9E4DD;
            border-radius: 5px;
        }

    .source-data-icons img {
        width: 20px;
        height: 20px;
    }

.source-data-wrapper {
    position: relative;
    width: 300px;
    height: 180px;
    background: #FFFFFF;
    border: 1px solid #A38C7C;
    border-radius: 20px;
    margin-top: 50px; /* ✅ Отступ, чтобы заголовок был отдельно */
    z-index: 1000 !important;
}

.source-data-input-container {
    display: flex;
    align-items: flex-start; /* ✅ Выравниваем иконку и поле */
    gap: 10px; /* ✅ Добавляем отступ между иконкой и текстовым полем */
}

.source-data-input {
    position: absolute;
    height: 22px;
    border: 1px solid #A38C7C;
    border-radius: 7px;
    font-family: 'Ysabeau Infant Medium';
    font-weight: 500;
    font-size: 12px;
    line-height: 16px;
    color: #3F2E21;
    margin-left: 30px;
}

.btn-open {
    margin-left: 9px;
    margin-top: -12px;
    background: none;
    border: none;
}

    .btn-open img {
        width: 20px;
        height: 20px;
    }

.btn-cities {
    margin-left: 203px;
    margin-top: 3px;
    background: none;
    border: none;
}

    .btn-cities img {
        width: 20px;
        height: 20px;
    }

.btn-now-datetime {
    margin-left: 9px;
    margin-top: 7px;
    background: none;
    border: none;
}

    .btn-now-datetime img {
        width: 20px;
        height: 20px;
    }

.btn-now-place {
    margin-left: 9px;
    margin-top: 5px;
    background: none;
    border: none;
}

    .btn-now-place img {
        width: 20px;
        height: 20px;
    }

.btn-now-ll {
    margin-left: 9px;
    margin-top: 3px;
    background: none;
    border: none;
}

    .btn-now-ll img {
        width: 20px;
        height: 20px;
    }

#initial_data-userName {
    width: 240px;
    height: 22px;
    top: 50px;
    left: 10px;
}

#initial_data-dateTime {
    width: 80px;
    height: 22px;
    top: 80px;
    left: 10px;
}

#initial_data-time {
    width: 80px;
    height: 22px;
    top: 80px;
    left: 95px;
}

#initial_data-gmt {
    width: 70px;
    height: 22px;
    top: 80px;
    left: 180px;
}

#initial_data-place {
    width: 216px;
    height: 22px;
    top: 110px;
    left: 10px;
}

#initial_data-latitude {
    width: 78px;
    height: 22px;
    top: 140px;
    left: 10px;
}

#initial_data-longitude {
    width: 78px;
    height: 22px;
    top: 140px;
    left: 90px;
}

.source-data-button {
    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;
}

.close-button {
    position: absolute;
    top: 5px;
    right: 10px;
    width: 20px;
    height: 20px;
    border: none;
    background: none;
    font-size: 18px;
    color: #A38C7C;
    cursor: pointer;
}

.initial_data-hidden-zone {
    display: none !important;
}

.initial_data-active-zone {
    display: block !important;
}

/* Контейнер для фоновых данных */
.source-data-background-container {
    position: relative;
    width: 298px;
    height: auto;
    margin-top: 35px;
    padding: 0;
}



/* Поля фоновой зоны - с префиксом InitialData */
#dateTimeInitialDataBackground {
    width: 80px;
    height: 22px;
    top: 0px;
    left: 10px;
}

#timeInitialDataBackground {
    width: 80px;
    height: 22px;
    top: 0px;
    left: 95px;
}

#gmtInitialDataBackground {
    width: 70px;
    height: 22px;
    top: 0px;
    left: 180px;
}

#placeInitialDataBackground {
    width: 216px;
    height: 22px;
    top: 30px;
    left: 10px;
}

#latitudeInitialDataBackground {
    width: 78px;
    height: 22px;
    top: 60px;
    left: 10px;
}

#longitudeInitialDataBackground {
    width: 78px;
    height: 22px;
    top: 60px;
    left: 90px;
}

#executeBtnInitialDataBackground {
    position: absolute;
    width: 75px;
    height: 22px;
    top: 60px;
    left: 202px;
}

/* Кнопки фоновой зоны - с префиксом InitialData */
#open_bd_initial_data_background {
    margin-left: 9px;
    margin-top: -35px;
    background: none;
    border: none;
}

    #open_bd_initial_data_background img {
        width: 20px;
        height: 20px;
    }

#now_datetime_initial_data_background {
    margin-left: 9px;
    margin-top: -3px;
    background: none;
    border: none;
}

    #now_datetime_initial_data_background img {
        width: 20px;
        height: 20px;
    }

#btn_place_initial_data_background {
    margin-left: 9px;
    margin-top: 5px;
    background: none;
    border: none;
}

    #btn_place_initial_data_background img {
        width: 20px;
        height: 20px;
    }

#open_cities_initial_data_background {
    margin-left: 203px;
    margin-top: 3px;
    background: none;
    border: none;
}

    #open_cities_initial_data_background img {
        width: 20px;
        height: 20px;
    }

#now_ll_initial_data_background {
    margin-left: 9px;
    margin-top: 3px;
    background: none;
    border: none;
}

    #now_ll_initial_data_background img {
        width: 20px;
        height: 20px;
    }

/* Поле имени */
#userNameInitialDataBackground {
    width: 240px;
    height: 22px;
    top: -30px;
    left: 10px;
}

/* Все поля ввода в фоновой зоне */
#initial_data-backgroundDataContainer input[type="date"],
#initial_data-backgroundDataContainer input[type="time"],
#initial_data-backgroundDataContainer input[type="text"] {
    border: 1px solid #B76565 !important;
}

/* Индивидуальные поля */
#dateTimeInitialDataBackground {
    border: 1px solid #B76565 !important;
}

#timeInitialDataBackground {
    border: 1px solid #B76565 !important;
}

#gmtInitialDataBackground {
    border: 1px solid #B76565 !important;
}

#placeInitialDataBackground {
    border: 1px solid #B76565 !important;
}

#latitudeInitialDataBackground {
    border: 1px solid #B76565 !important;
}

#longitudeInitialDataBackground {
    border: 1px solid #B76565 !important;
}

/* Кнопка выполнения тоже можно изменить */
#executeBtnInitialDataBackground {
    background: #B76565 !important;
    color: white !important;
    border: 1px solid #B76565 !important;
}

#initial_data-background_data:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

    #initial_data-background_data:disabled img {
        filter: grayscale(100%);
    }

#initial_data-change_place:disabled,
#initial_data-change_place.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

    #initial_data-change_place:disabled img,
    #initial_data-change_place.disabled img {
        filter: grayscale(100%);
    }