*,
::after,
::before {
    box-sizing: border-box;
}

body {
    margin: 0;
}

a {
    cursor: pointer;
    text-decoration: none;
}

li {
    list-style: none;
}

/* Layout skeleton */

.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
}

#sidebar {
    max-width: 264px;
    min-width: 264px;
    transition: all 0.35s ease-in-out;
    box-shadow: 0 0 35px 0 rgba(49, 57, 66, 0.5);
    z-index: 1111;
}

/* Sidebar collapse */

#sidebar.collapsed {
    margin-left: -264px;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
}

.sidebar-logo {
    padding: 1.15rem 1.5rem;
}

.sidebar-logo a {
    font-size: 1.25rem;
    font-weight: 600;
}

.sidebar-nav {
    padding: 0;
}

.sidebar-header {
    padding: .2rem;
	margin: .8rem;
	cursor:pointer;
}

.sidebar-header[data-bs-toggle="collapse"] {
    border-bottom: 2px solid #0D6EFD;
}

.sidebar-header[data-bs-toggle="collapse"].collapsed {
    border-bottom: 2px solid transparent;
}

a.sidebar-link {
    padding: .25rem 1.5rem;
    position: relative;
    display: block;
}

.sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: .8rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

.sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.content {
    flex: 1;
    max-width: 100vw;
    width: 100vw;
}

/* Responsive */

@media (min-width:768px) {
    .content {
        width: auto;
    }
}

:focus {
  outline: 0 !important;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0) !important;
}
.popover{
        max-width:600px;
    }
	
.imagePreview {
    width: 100%;
    height: 100px;
    background-position: center center;
	background-color:#fff;
    background-size: contain;
	background-repeat:no-repeat;
    display: inline-block;
	border: 1px solid #dee2e6;
}

.avatar-list{
	width:32px;
}


.card-logo
{
    position:absolute;

    top:-20px;
    border-radius:50%;
}
.editable td.edit {
  background: #CCFFCC !important;
}

.editable td.fixed {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.pointer{
	cursor:pointer;
}

/* Кастомные стили для вкладок */
.nav-tabs-custom .nav-link {
    padding: 0.8rem 1.5rem;
    font-weight: 500;
    border: none;
    border-bottom: 3px solid transparent;
    color: #6c757d;
    transition: all 0.2s;
}

.nav-tabs-custom .nav-link.active {
    color: #0d6efd;
    background: transparent;
    border-bottom: 3px solid #0d6efd;
}

.nav-tabs-custom .nav-link:hover:not(.active) {
    color: #0d6efd;
    background: rgba(13, 110, 253, 0.05);
}

/* Стили для редактируемых ячеек */
.editable-cell:focus {
    outline: 2px solid #86b7fe;
    background-color: #f8f9fa;
    border-radius: 4px;
    padding: 0.5rem;
}

/* Стиль для кнопки переключения пароля */
.toggle-password {
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    border-left: 0;
}

/* Улучшенные отступы */
.form-label {
    margin-bottom: 0.5rem;
}

/* Анимация для иконок */
.bi {
    transition: transform 0.2s;
}

.toggle-password:hover .bi {
    transform: scale(1.1);
}
/* Кастомные стили для оформления точек */
.dotted-line {
    display: flex;
    position: relative;
    padding: 0.25rem 0;
}
.dotted-line::after {
    content: "";
    position: absolute;
    bottom: 0.5rem;
    left: 0;
    right: 0;
    border-bottom: 1px dotted #dee2e6;
    z-index: 1;
}
.dotted-key {
    background: white;
    padding-right: 4px;
    position: relative;
    z-index: 2;
}
.dotted-value {
    background: white;
    padding-left: 4px;
    margin-left: auto;
    position: relative;
    z-index: 2;
}

/* Анимации и эффекты */
.card-hover {
    transition: transform 0.2s, box-shadow 0.2s;
}
.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.status-icon {
    font-size: 1.1rem;
    vertical-align: text-bottom;
    margin-right: 3px;
}

.badge-align {
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}
.status-icon {
    font-size: 1.1rem;
    vertical-align: middle;
}