/* resources/css/app.css */

.gray-color-text {
    color: #BDBDBD;
}

#project-table, #report-table {
    width: 100%;
}

.tabulator .tabulator-header .tabulator-col {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.navbar {
    height: 96px !important;
}

.active {
    color: #6E41E2 !important;

}

body {
    background-color: #F8F8FF !important;
}


#project-table {
    border-radius: 20px;
}

.tabulator-col-id {
    background-color: #6D3AFF;
    border-radius: 20px 0 0 20px;
}

.tabulator .tabulator-header {
    border-bottom: 0 !important;
    border-top: 0 !important;
}

.tabulator-footer {
    border-top: 0 !important;

    background-color: white !important;
}

.tabulator-row-even {
    background-color: #F7F7FB !important;
    border-right: white !important;
}

.tabulator-row-odd {
    background-color: white !important;
    bot: #F7F7FB !important;
}

.tabulator-col {
    background-color: #E3DAF9 !important; /* Фиолетовый цвет */
    color: #615E83 !important;
}

#project-table .tabulator-col:nth-child(3) {
    background-color: #E3DAF9 !important; /* Фиолетовый цвет */
    color: #615E83 !important;
    border-radius: 10px 0 0 10px !important;
}

.tabulator-col:first-child {
    background-color: white !important; /* Белый цвет для первого заголовка */
    color: transparent; /* Скрываем текст, если он есть */
}


#report-table .tabulator-col-group-cols .even-color {
    background-color: #DDD4FB !important;
    border-radius: 0 !important;
}

.even-color {
    background-color: #DDD4FB !important;
    border-radius: 0 !important;
}

.odd-color {
    background-color: #F8F8FF !important;
    border-radius: 0 !important;
}

#report-table .tabulator-col-group-cols .auto-odd-color {
    background-color: #E3DEFF !important;
    border-radius: 0 !important;
}

#report-table .tabulator-col-group-cols .auto-even-color {
    background-color: #E3DEFF !important;
    border-radius: 0 !important;
}






#report-table .tabulator-row .auto-even-color {
    background-color: #E3DEFF !important;
    border-radius: 0 !important;
}

#report-table .tabulator-col-group-cols .user-odd-color {
    background-color: #ECD9FF !important;
    border-radius: 0 !important;
}

#report-table .tabulator-col-group-cols .user-even-color {
    background-color: #ECD9FF !important;
    border-radius: 0 !important;
}


#report-table .tabulator-row .user-even-color {
    background-color: #ECD9FF !important;
    border-radius: 0 !important;
}


.target-color {
    background-color: #9377F6 !important;
    color: white !important;
}

.user-color {
    background-color: #B067F9 !important;
    color: white !important;
}

.auto-color {
    background-color: #735CE7 !important;
    color: white !important;
}


#report-date-range {
    background-color: #ffffff !important;
    border-radius: 20px 0 0 20px !important;
    border-right: white !important;
    border: none !important;

}

.button-data-filtered {
    background-color: #ffffff !important;
    border-radius: 0 20px 20px 0 !important;
    color: white !important;
    border: none !important;
}

#currency-select {
    background-color: #ffffff !important;
    border-radius: 20px !important;
    text-align: center;
}

.tabulator-paginator label {
    color: #615E83 !important;
    font-weight: 100 !important;
}

.tabulator-paginator .tabulator-page .active {
    background-color: transparent !important;
    color: #615E83 !important;
}

.tabulator-paginator .tabulator-page {
    color: #a6a6a6 !important;
    background-color: transparent !important;

}

.tabulator-page-size {
    background-color: #F8F8F8 !important;
    border-radius: 20px !important;
    text-align: center;
    padding: 5px !important;
}

#myTableContainer {
    position: relative;
    width: 100%;
    height: 100%;
}

.my-table {
    /* Стили вашей таблицы */
    height: 100%;
    overflow-x: auto; /* Горизонтальная прокрутка */
}

.circle-arrow {
    position: absolute;
    right: 20px; /* Отступ от правого края */
    top: 50%; /* Центровка по вертикали */
    transform: translateY(-50%); /* Центровка относительно высоты стрелочки */
    width: 40px;
    height: 40px;
    background-color: #007bff; /* Цвет круга */
    border-radius: 50%; /* Делаем его кругом */
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.circle-arrow svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: white;
}


.rounded-user {
    border-radius: 20px;

}

.tabulator-col-user {
    background-color: #E3DAF9 !important; /* Фиолетовый цвет */
    color: #615E83 !important;
    border-bottom: none;
}

.tabulator-col-user:nth-child(2) {
    background-color: #E3DAF9 !important; /* Фиолетовый цвет */
    color: #615E83 !important;
    border-radius: 20px 0 0 20px !important;
}

.tabulator-col-user:first-child {
    background-color: white !important; /* Белый цвет для первого заголовка */
    color: transparent; /* Скрываем текст, если он есть */
}

.user-table-header th {
    font-weight: 500 !important;
    padding: 20px !important;
}

.user-table-header th:first-child {
    width: 20px;
}

.user-table-row {
    box-shadow: none !important;
    font-weight: 300;
}

.table-striped > tbody > tr:nth-of-type(odd) {
    --bs-table-accent-bg: none !important;
}

.user-table-row tr:nth-child(odd) {
    background-color: #FFFFFF !important;

}

.user-table-row td {
    padding: 10px 10px 10px 20px !important;

}

.user-table-row tr:nth-child(even) {
    background-color: #F7F7FB !important;
}

.fw-weight-bolder {
    font-weight: 500 !important;
}


.button-edit-user {
    display: inline-block;
    padding: 5px 20px;
    font-size: 16px;
    color: #6200EA; /* Фиолетовый цвет текста */
    background-color: transparent;
    border: 2px solid #6200EA; /* Фиолетовая рамка */
    border-radius: 25px; /* Скругленные углы */
    text-align: center;
    text-decoration: none;
    transition: background-color 0.3s, color 0.3s;
}


.button-edit-user:hover {
    background-color: #6200EA; /* Фиолетовый фон при наведении */
    color: white; /* Белый цвет текста при наведении */
}

.btn-add-project {
    background: linear-gradient(180deg, #5200FF 0%, #6D3AFF 100%);
    padding: 1.5vh 1.5vw; /* Отступы адаптированы по высоте и ширине экрана */
    border-radius: 100px;
    opacity: 1; /* Ставлю 1, чтобы кнопка была видна, убираем полную прозрачность */
    border: none;
    color: white;
    display: inline-block;
    font-size: 1.5vh; /* Размер шрифта относительно высоты экрана */
    transition: background-color 0.3s, color 0.3s;
}

.btn-add-project:hover {
    background: linear-gradient(180deg, #6D3AFF 0%, #5200FF 100%);
    color: white;
}

.user-edit-form div input {
    border-radius: 20px;
    border: 1px solid #E3DAF9;
    padding: 10px;
    margin: 10px 0;
}


.dayContainer .selected {
    background-color: #6D3AFF !important;
    color: white !important;
}

.user-edit-form div select {
    border-radius: 20px;
    border: 1px solid #E3DAF9;
    padding: 10px;
    margin: 10px 0;
}

.user-edit-form div input:focus {
    border: 1px solid #6D3AFF;
}

.user-edit-form div label {
    font-weight: 500;
    color: #615E83;
}

.user-edit-form {
    padding: 20px;
    border-radius: 20px;
}


.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

/* Стили для формы */
.login-form {
    background-color: white;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
}

/* Стили для полей ввода */
.form-control {
    border: 2px solid #E5E7EB;
    border-radius: 8px;
    padding: 10px;
    width: 100%;
    box-sizing: border-box;
}

.form-control:focus {
    border-color: #6200EA;
    box-shadow: 0 0 0 2px rgba(98, 0, 234, 0.2);
}

/* Кнопка с ранее указанными стилями */
.btn-login {
    background-color: transparent;
    color: #6200EA;
    border: 2px solid #6200EA;
    border-radius: 25px;
    padding: 10px 20px;
    width: 100%;
    transition: all 0.3s;
}

.btn-login:hover {
    background-color: #6200EA;
    color: white;
}


.tabulator-table .selected-row {
    background-color: #E3DAF9 !important;
    color: #615E83 !important;
}

.tabulator-edit-list .active {
    background-color: #E3DAF9 !important;
    color: #615E83 !important;
}


/* Стили для затемнения фона с блюром для разных браузеров */
.blurred-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Затемнение */
    backdrop-filter: blur(10px); /* Эффект блюра */
    -webkit-backdrop-filter: blur(10px); /* Блюр для Safari */
    z-index: 999;
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

/* Стили для самого попапа */
.custom-popup {
    background: white;
    padding: 50px;
    border-radius: 10px;
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    text-align: center;
    width: 50%;
    position: relative; /* Позиционирование для кнопки закрытия */
}

/* Кнопка закрытия попапа */
.custom-popup .close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #8f8f8f;
}

.custom-popup .close-btn:hover {
    color: #4B00B2;
}

/* Кнопки в попапе */
.custom-popup .btn {
    background-color: #6200EA;
    color: white;
    border: none;

    padding: 10px 20px;
    border-radius: 20px;
    cursor: pointer;
    margin: 10px;
    width: 40%;
}

.custom-popup .btn:hover {
    background-color: #4B00B2;
}

/* Показываем попап и затемнение */
.show-popup {
    visibility: visible;
}

/* стиль для кнопки отмена  пустой фон и бордер */
.custom-popup .btn-cancel {
    background-color: transparent;
    color: #6200EA;
    border: 2px solid #6200EA;
    border-radius: 25px;
    padding: 10px 20px;
    width: 40%;
    transition: all 0.3s;
}

.custom-popup .btn-cancel:hover {
    background-color: #6200EA;
    color: white;
}

.tabulator-col-title {
    text-align: center;
}

.tabulator-cell {
    text-align: center;
}

.tabulator-header-filter input {
    font-size: 11px !important;
}
