﻿html {
    min-width: 500px;
    min-height: 600px;
    font-size: 14px;
    overflow-x: hidden;
    overflow-y: hidden;
}
body {
    height: 100%;
    width: 100%;
    background-color: #2c353f;
    color: white;
    padding: 10px;
}

.page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s ease, visibility 0s ease 0.5s;
    opacity: 0;
    visibility: hidden;
    pointer-events: none; /* Prevents interaction with elements */
    margin-left: 0;
    margin-right: 0;
    padding: 10px;
    overflow-y: auto;
    overflow-x: auto;
}

body.waiting, body.waiting * {
    cursor: wait !important;
}

.rowMember{
    cursor:pointer;
}

.mainPanel{
    height:100%;    
}

.pnl-btn{
    height: 48px;
    width: 48px;    
}

.btn-data{
    width: 80%;
}

.nav-link{
    color:white;
}

.nav-link:hover {
    color: white;
}

#customModal .modal-body,
#customModal .modal-header,
#customModal .modal-footer {
    color: black;
}

.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.7); /* Semi-transparent background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
}

#First {
    padding: 50px 100px 100px 100px;
}

#Third {
    padding: 50px 100px 100px 100px;
}

.mt-30 {
    margin-top: 30px !important;
}

.mt-60 {
    margin-top: 60px !important;
}

.mt-10 {
    margin-top: 10rem !important;
}

.mt-6 {
    margin-top: 6rem !important;
}

.ml-15 {
    margin-left: 15rem !important;
}

.mr-15 {
    margin-right: 15rem !important;
}

.pad-200{
    padding: 200px;
}

#btnToFirstScreen {
    width: 20px; /* button size */
    height: 20px;
    border-radius: 50%; /* makes the button round */
    /*background-color: #2c353f;*/ /* white background */
    /*color: white;*/ /* red text */
    font-size: 10px; /* font size */
    border: 1px solid white; /* red border */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1; /* the text is centered */
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #9ad9af;
    --bs-btn-bg: #2c353f;
    --bs-btn-border-color: white;
    --bs-btn-color: white;
}

#btnDisclaiemers {
    cursor: pointer;
    --bs-btn-color: #039855;
    --bs-btn-bg: #262d36;
    --bs-btn-border-color: #039855;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #9ad9af;
    --bs-btn-hover-border-color: #9ad9af;
    --bs-btn-focus-shadow-rgb: 60,153,110;
    --bs-btn-active-color: fff;
    --bs-btn-active-bg: #64ad7c;
    --bs-btn-active-border-color: #64ad7c;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: 000;
    --bs-btn-disabled-bg: #63a788;
    --bs-btn-disabled-border-color: #63a788;
}

.btn-disclaimer {
    --bs-btn-bg: #262d36;
    --bs-btn-hover-color: #000;
    --bs-btn-focus-shadow-rgb: 60,153,110;
    --bs-btn-active-color: fff;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
}

.btn-custom-green {
    --bs-btn-border-color: #039855;
    --bs-btn-color: #039855;
    --bs-btn-hover-bg: #9ad9af;
    --bs-btn-hover-border-color: #000;
    --bs-btn-active-bg: #64ad7c;
    --bs-btn-active-border-color: #64ad7c;
    --bs-btn-disabled-color: 000;
    --bs-btn-disabled-bg: #34774f;
    --bs-btn-disabled-border-color: #000;
}

.btn-custom-blue {
    --bs-btn-border-color: #005aff;
    --bs-btn-color: #fff;
    /*--bs-btn-hover-bg: #407eef;*/
    --bs-btn-hover-border-color: #0037ff;
    --bs-btn-active-bg: #64ad7c;
    --bs-btn-active-border-color: #64ad7c;
    --bs-btn-disabled-color: 000;
    --bs-btn-disabled-bg: #34774f;
    --bs-btn-disabled-border-color: #000;
}

.btn-primary, .blue {
    transition: all 1s ease;
}

.btn-custom-red {
    --bs-btn-border-color: red;
    --bs-btn-color: red;
    --bs-btn-hover-bg: #ff3030d1;
    --bs-btn-hover-border-color: #000;
    --bs-btn-active-bg: red;
    --bs-btn-active-border-color: red;
    --bs-btn-disabled-color: 000;
    --bs-btn-disabled-bg: #950606;
    --bs-btn-disabled-border-color: #000;
}

.btn-lowgreen {
    --bs-btn-color: #000;
    --bs-btn-bg: #d1fadf;
    --bs-btn-border-color: #d1fadf;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #9ad9af;
    --bs-btn-hover-border-color: #9ad9af;
    --bs-btn-focus-shadow-rgb: 60,153,110;
    --bs-btn-active-color: fff;
    --bs-btn-active-bg: #64ad7c;
    --bs-btn-active-border-color: #64ad7c;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: 000;
    --bs-btn-disabled-bg: #63a788;
    --bs-btn-disabled-border-color: #63a788;
}

/*#region EYE IN PHONE NUMBER FIELD*/
.eye-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-color: transparent;
    border: 2px solid #000;
    border-radius: 50%;
    position: relative;
}

.eye-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 2px;
    background-color: #000;
    transform: translate(-50%, -50%);
    border-radius: 1px;
}

.eye-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background-color: #000;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.eye-icon.hidden::before {
    transform: translate(-50%, -50%) rotate(45deg);
}

.eye-icon.hidden::after {
    display: none;
}

/*#icon-eye {
    color: white;*/ /* Color for SVG */
/*}*/
/*endregion EYE IN PHONE NUMBER FIELD*/

.icon-eye {
    width: 20px;
    height: 20px;
    background-image: url('images/eye-slash.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.form-select {
    --bs-form-select-bg-img: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23ffffff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m2 5 6 6 6-6'/%3e%3c/svg%3e");
    cursor: pointer;

}

.form-select:disabled {
    background-color: #656565;
    color: #ddd;
}

.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.page:not(.hidden) {
    opacity: 1;
    visibility: visible;
    pointer-events: auto; /* Allows interaction with the visible element */
}

#Disclaimer {
    display: flex;
    justify-content: center;
    overflow-y: auto;
    /*    align-items: center;*/
}

.div-table-size {
    height: 355px;
}

.table-custom {
    --bs-table-color: white;
    --bs-table-bg: #344054;
    --bs-table-striped-bg: #c7dbd2;
    --bs-table-striped-color: #000;
    --bs-table-active-bg: #bcd0c7;
    --bs-table-active-color: #000;
    --bs-table-hover-bg: #c1d6cc;
    --bs-table-hover-color: #000;
    color: var(--bs-table-color);
    border-color: #1d2939;
}

/*.table-group-divider-custom {*/
    /*border-top: 0px solid black;*/
    /*height:60px;
}*/

.border-bottom-custom {
    border-bottom: var(--bs-border-width) var(--bs-border-style) #1d2939 !important;
}

.fixed-header-table {
width: 100%;
border-collapse: collapse;
--bs-table-color: white;
}

.fixed-header-table thead th {
    position: sticky;
    top: 0;
    z-index: 2;
    padding: 8px;
    background-color: #1d2939;
}

.sticky-row {
    position: sticky;
    z-index: 1;
    top: 0px;
    height: 60px;
}

.sticky-subrow{
    position: sticky;
    top: 0px;
    background-color: white;
    z-index: 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/*.form-container {
    width: 100%;
    max-width: 800px;
}*/

#Fourth {
    padding: 125px;
}

.exclude-btn-height {
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
    font-size: 0.85rem;
}

.fs-8 {
    font-size: 13px !important;
}

.mainPanel {
    --bs-body-bg: #1d2939;
    --bs-body-color: white;
}

.div-table {
    overflow-y: auto;
    max-height: 100%;
    display: flex;
    --bs-body-bg: white;
    scroll-snap-type: y mandatory; /* Fixed step */
}

.form-control::placeholder {
    color: #798494;
}

.no-wrap{
    white-space: nowrap;
}

.arrow {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-left: 2px solid white;
    border-bottom: 2px solid white;
    transform: rotate(-45deg);
    transition: transform 0.3s;
}

.arrow-up {
    transform: rotate(-45deg); /* Вверх */
}

.arrow-down {
    transform: rotate(135deg); /* Вниз */
}

.status-unavailable {
    background-color: cornflowerblue;
    border-radius: 5px;
    color: white;
}

.status-undefendable {
    background-color: #fdb022;
    border-radius: 5px;
    color: white;
}

.status-unrecognized {
    background-color: #fecdca;
    border-radius: 5px;
    color: white;
}

.uVersion {
    color: gray;
    opacity: 50%;
}

.custom-tooltip {
    color:black;
    position: absolute;
    background-color: #f0f0f0;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
    max-width: 300px;
    word-wrap: break-word;
    display: none;
    z-index: 9999;
}