body {
    font-family: Poppins;
    background: #F5F7FA;
    cursor: default;
}

.auth-row {
    min-height: 75vh;
    margin: 20px !important;
}

.row-n-margin {
    margin-right: -15px !important;
    margin-left: -15px !important;
}

.margin-right-zero {
    margin-right: 0 !important;

}

.row {
    margin-right: 0px;
    margin-left: 0px;
}

.navbar-collapse {
    border: 1px solid #e4e6e8;
}

.login-container {
    /* width: 300px; */
    margin: 0 auto;
    text-align: center;
}

input[type="text"],
input[type="password"],
button {
    width: 100%;
    margin-top: 10px;
}

button,
button:active,
button:focus,
button:hover {
    border: none;
}

button {
    background-color: #007bff;
    color: white;
    cursor: pointer;
}

#error-message {
    color: red;
    margin-top: 15px;
    /* background: #f7f7f7; */
    border-radius: 9px;
    /* padding: 10px 25px; */
}

.login-heading {
    font-size: 50px;
    font-weight: 600;
}

.login-description {
    font-size: 35px;
    font-weight: 500;
}

.login-small-heading {
    font-size: 30px;
    font-weight: 500;
}

.login-input {
    background: #F0EFFF !important;
    border: 0 !important;
    border-radius: 8px !important;
    padding: 15px 26px !important;
    height: auto !important;
    width: 100%;
    margin-top: 10px;
}

.password-input {
    border-top-right-radius: 0 !important;
    border-bottom-right-radius: 0 !important;
}

.login-button {
    background-color: #1814F3;
    border-radius: 9px;
    border: 0;
    font-size: 16px;
    font-weight: 500;
    padding: 20px;
    box-shadow: rgb(24 20 243 / 35%) 0px 7px 29px 0px;
}

.login-link {
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
}

.btn-register {
    background-color: #fff0;
    box-shadow: none;
    color: #1814F3;
    width: 100%;
    font-size: 16px;
    font-weight: 500;
    padding: 20px;
}

.forgot-link {
    margin-top: 15px;
    font-size: 13px;
    margin-bottom: 5px;
}

.align-left {
    text-align: left;
}

.margin-auto {
    margin: auto;
}

.invisible-button {
    background-color: #F0EFFF;
    border: 0 !important;
    border-radius: 0px 8px 8px 0px;
    padding: 20px 25px;
    margin-top: 10px;
}

.sidebar {
    border-right: 1px solid #E6EFF5;
    height: 100vh;
    background: #fff;
    border-bottom: 1px solid #E6EFF5;
    border-bottom-right-radius: 15px;
}

.sidebar-body {
    margin-left: -15px;
}

.footer {
    border-top-left-radius: 15px;
    border: 1px solid #E6EFF5;
}

.footer-row {
    padding-left: 30px;
}

.active .menu-item {
    color: #1814F3 !important;
}

.sidebar-menu .active::before {
    content: "";
    display: block;
    border-right: 5px solid #1814F3;
    position: absolute;
    left: 0px;
    transform: translateY(-50%);
    padding-top: 25px;
    padding-bottom: 25px;
    margin-top: 15px;
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.menu-item {
    text-decoration: none !important;
    /* Убираем подчеркивание для ссылок */
}

.menu-padding.active .menu-icon path {
    fill: #1814F3;
}

.header {
    border-bottom: 1px solid #E6EFF5;
}

.body-paddings {
    padding-left: 0px;
    padding-right: 0px;
}

.header h2 {
    margin: 0;
}

.medium-padding {
    padding: 30px;
}

.menu-item {
    color: #1B1B1B;
}

.menu-padding {
    padding-left: 30px;
    margin-bottom: 30px;
}

.menu-icon {
    padding-bottom: 5px;
    padding-right: 15px;
}

.header-elements {
    justify-content: space-between;
    display: flex;
    background: #fff;
    padding: 15px 30px;
}

.photo-top-panel {
    display: inline-flex;
    justify-content: space-between;
    width: -webkit-fill-available;
    padding: 10px;
    background: #fff;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    border: 1px solid #e4e6e8;
    border-bottom: 0;
}

.photo-bottom-panel {
    display: inline-flex;
    justify-content: space-between;
    width: -webkit-fill-available;
    background-color: #fff;
    border-radius: 12px;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    padding: 10px;
    border: 1px solid #e4e6e8;
    border-top: 0;
}

.change-password-container {
    background-color: #fff;
    border-radius: 25px;
    padding: 30px;
}

.change-password-container .active::before {
    display: none;
}

.nav-pills .nav-link {
    background: #fff !important;
    color: #1814F3 !important;
    width: 125px;
}

.nav-pills .nav-link.active,
.nav-pills .show>.nav-link {
    background: #fff;
    color: #1814F3;
}

.nav-link.active::after {
    margin-top: 7px;
    content: "";
    display: block;
    border-right: 120px solid #1814F3;
    position: absolute;
    transform: translateY(-50%);
    padding-bottom: 3px;
    border-top-right-radius: 8px;
    border-top-left-radius: 8px;
    margin-left: -15px;
}

button:focus {
    outline: 0 !important;
}

.settings-small-heading {
    font-size: 17px;
    font-weight: 500;
    color: #333B69;
    margin: 20px 0px;
}

.settings-button {
    width: auto;
    background: #1814F3;
    padding: 15px 30px;
    border-radius: 15px;
    margin-top: 30px;
    margin-right: 15px;
}

.settings-button-logout {
    color: #fff;
    background: #000000;
    padding: 15px 30px;
    border-radius: 15px;
    margin-top: 30px;
    text-decoration: none !important;
}

.sidebar-menu {
    margin-top: 60px;
}

.settings-button:hover,
.settings-button:focus {
    background: #0300cd;
}

.settings-button-logout:hover,
.settings-button-logout:focus {
    background: #202020;
    color: #fff;
}

.form-check-input:checked {
    background-color: #1814F3;
}

.edit-image-button {
    position: absolute;
    margin-left: -30px;
    margin-top: 110px;
    cursor: pointer;
}

.avatar-settings {
    margin-top: 20px;
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 130px;
    border: 1px solid rgb(24, 20, 243);
}

.header-avatar {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 130px;
    border: 1px solid rgb(24, 20, 243);
}

.error-message {
    background-color: rgb(247, 247, 247);
    padding: 10px 25px;
    color: red;
    margin-top: 15px;
    border-radius: 9px;
    margin-bottom: 0;
}

.success-message {
    background-color: rgb(247, 247, 247);
    padding: 10px 25px;
    margin-top: 15px;
    border-radius: 9px;
    color: green;
    margin-bottom: 0;
}

.settingsavatarrow {
    min-width: 160px;
}

.webcam {
    width: 100%;
    border-radius: 15px;
    height: 100%;
    object-fit: cover;
}

.webcam-area {
    display: flex;
    border-radius: 12px;
    margin: 0 10%;
    background: #fff;
    padding: 10px 20px;
    margin-top: -125px;
    position: absolute;
    width: -webkit-fill-available;
    justify-content: space-between;
}

.webcam-buttons {
    border-radius: 60px;
    height: 60px;
    padding: 0 25px;
    margin-right: 15px;
    margin-top: 0;
    width: -webkit-fill-available;
}

.image-container .webcam-buttons {
    opacity: 0;
    /* Начально скрыты */
    transition: opacity 0.3s ease;
    /* Плавное появление */
}

.image-container {
    display: flex;
    border-radius: 12px;
    border: 0;
}

.image-container:hover .webcam-buttons {
    opacity: 1;
    /* Показываем кнопки при наведении на контейнер с изображением */
}

.modal-dialog {
    max-width: 800px;
    margin: auto;
    padding: 5px;
}

.modal-full-img {
    width: 100%;
    border-radius: 15px;
    max-height: 98vh;
    object-fit: contain;
}

.modal-content {
    border-radius: 17px;
    border: 0;
}

.filter-row {
    background-color: #fff;
    border-radius: 15px;
    /* margin-bottom: 5px; */
}

.button-icon {
    padding-right: 10px;
}

.circle-button {
    background: #DFEBFF;
    padding: 0;
    min-width: 60px;
    width: 60px;
}

.circle-button .button-icon {
    padding-right: 0;
}

.screenshot-button {
    background-color: #FF0000;
}

.profile-buttons-header {
    display: flex;
    gap: 15px;
}

.btn-like {
    background: #e8b9b9;
    width: auto;
    height: auto;
    padding: 0;
    transition: background-color 0.3s ease;
}

.btn-like.liked {
    background-color: #EB5757;
    /* Фон, когда лайк уже поставлен */
}

.comments-heading {
    font-size: 22px;
    font-weight: 600;
    color: #343C6A;
}

.comments-description {
    font-size: 16px;
    font-weight: 400;
    padding-top: 15px;
    padding-bottom: 15px;
}

.comments-input {
    border-radius: 15px;
    background-color: #fff;
    border: 0;
    padding: 10px;
    width: 100%;
    padding: 20px;
    min-height: 64px;
}

.comment-box {
    background: #85a6dd;
    border-radius: 5px;
    padding: 0px 7px;
    color: #fff;
}

.comment-icon {
    padding-right: 7px;
    padding-bottom: 1px;
}

.comment-btn {
    padding-left: 10px;
}

.off-decoration {
    text-decoration: none !important;
}

.dashboard-iconbox-text {
    margin: auto;
}

@media screen and (min-width: 992px) {
    .profile-buttons-sidebar {
        display: none;
    }
}

@media screen and (min-width: 1250px) {
    .min-logo {
        display: none;
    }
}

@media screen and (max-width: 1250px) {
    .full-logo {
        display: none;
    }
}

@media screen and (min-width: 992px) and (max-width: 992px) {
    .profile-buttons-sidebar {
        display: none !important;
    }
}

@media screen and (max-width: 576px) {
    .dashboard-counter {
        padding: 10px!important;
    }
    .dashboard-iconbox-text {
        margin: auto auto auto 20px!important;
    }
}

@media screen and (max-width: 255px) {
    .hide-super-small {
        display: none;
    }
    .dashboard-counter {
        margin-bottom: 10px!important;
    }
}

@media screen and (max-width: 991px) {
    .login-heading {
        font-size: 34px;
    }

    .login-description {
        font-size: 24px;
    }

    .mobile-hide {
        display: none;
    }

    .sidebar-menu {
        display: none;
    }

    .sidebar {
        height: auto;
        justify-content: space-between;
        display: flex;
        padding: 0;
        border-bottom-right-radius: 0;
    }

    .profile-buttons-header {
        display: none;
    }

    .profile-buttons-sidebar {
        margin: auto;
        margin-right: 20px;
    }

    .medium-padding {
        padding: 30px;
    }

    .logo {
        width: -webkit-fill-available;
    }

    .change-password-container {
        padding: 20px;
    }

    .settings-small-heading {
        font-size: 14px;
        margin: 10px 0px;
    }

    .settingsavatarrow {
        margin-bottom: 20px;
    }

    .footer {
        border-top-left-radius: 0;
        border: 0;
        border-top: 1px solid #E6EFF5;
    }
}

@media screen and (min-width: 992px) and (max-width: 1250px) {
    .menu-icon {
        display: none;
    }

    .logo {
        width: -webkit-fill-available;
    }

    .settingsavatarrow {
        min-width: 100%;
    }
}

#videoElement {
    display: none;
}

.filter-btn {
    border-radius: 7px;
    cursor: pointer;
    padding-bottom: 10px;
}

.filter-img {
    width: 100%;
}

.filter-btn-paddings {
    padding-right: 5px;
    padding-left: 5px;
}

.filter-buttons-top {
    margin: 5px;
}

.filter-buttons-top .filter-btn {
    padding: 12px;
    background: #ededed;
    color: #000;
}

.random-filter-btn {
    color: #fff !important;
    background: #1814F3 !important;
}

.filter-btn-container {
    max-height: 55vh;
    overflow-y: scroll;
    padding-bottom: 20px;
    padding-right: 15px;
    padding-left: 15px;
}

.cls-button-popup {
    width: 40px;
    background: #ffffff !important;
    border-radius: 50px;
    margin-bottom: -50px;
    margin-right: 10px;
    text-shadow: 0 0 0 BLACK;
    height: 40px;
    user-select: none;
    /* Отключение выделения текста */
    -webkit-user-select: none;
    /* Safari */
    -moz-user-select: none;
    /* Firefox */
    -ms-user-select: none;
    /* IE/Edge */
}

.modal-body {
    padding: 0px;
}

.btn-large {
    background: #0060FF;
    width: 50px;
    height: 50px;
    padding: 0;
}

.btn-trash {
    background: #EB5757;
    width: 50px;
    height: 50px;
    padding: 0;
}

.center-container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.badge-on-photo {
    font-size: 12px;
    padding: 5px;
}

.card-body {
    width: 100%;
    margin-bottom: -15px;
    bottom: 0;
    position: absolute;
    display: flex;
}

.card-img-top {
    border: 1px solid #e4e6e8;
    border-radius: 0;
}

.hide-text-on-mobile {
    display: contents;
}

.enabled-button {
    background-color: grey;
    cursor: not-allowed;
}

.custom-switch {
    display: flex;
    align-items: center;
    padding-left: 0 !important;
}

.custom-switch-input {
    opacity: 0;
    width: 0;
    height: 0;
}

.custom-switch-label {
    position: relative;
    display: inline-block;
    min-width: 60px;
    height: 34px;
    background-color: #ccc;
    transition: .4s;
    border-radius: 34px;
    cursor: pointer;
    margin-bottom: 0;
}

.custom-switch-label:before {
    position: absolute;
    content: "";
    height: 26px;
    width: 26px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

.custom-switch-input:checked+.custom-switch-label {
    background-color: #1814F3;
}

.custom-switch-input:checked+.custom-switch-label:before {
    transform: translateX(26px);
}

.custom-switch-text {
    margin-left: 10px;
    font-size: 16px;
    cursor: pointer;
}

#comments-list {
    margin-top: 25px;
}

.comment {
    background: #fff;
    padding: 10px 15px;
    border-radius: 5px;
    margin-bottom: 10px;
}

.comment-text {
    margin: 10px 5px;
    word-break: break-all;
}

@media screen and (max-width: 992px) {
    .profile-buttons-sidebar {
        gap: 10px;
        display: flex;
    }

    .navbar {
        padding: 0 !important;
    }

    .collapsing {
        -webkit-transition: none !important;
        transition: none !important;
        display: none !important;
    }

    .collapse {
        transition: none !important;
    }

    .navbar-light .navbar-toggler {
        width: 61px;
        border: 0;
        background: #F5F7FA;
        border-radius: 50px;
        min-height: 61px;
        margin: 0;
    }

    .navbar-collapse {
        width: max-content;
        position: absolute;
        margin-top: 270px;
        z-index: 9999;
        background: #F5F7FA;
        padding: 5px 20px;
        border-radius: 10px;
    }

    .filter-row {
        margin-right: 15px;
        margin-left: 15px;
        margin-top: 120px;
    }

    .hide-text-on-mobile {
        display: none !important;
    }

    .button-icon {
        padding-right: 0px;
    }

    .webcam-buttons {
        padding: 0;
        min-width: 60px;
    }

    .webcam-area {
        width: auto;
        position: inherit;
        margin: 0;
        margin-top: 10px;
    }

    .footer-row {
        padding-left: 0px;
        font-size: 12px;
    }

    .settings-button {
        font-size: 13px;
    }

    .settings-button-logout {
        font-size: 13px;
    }

    .sidebar-body {
        margin-left: 0;
        height: auto;
        display: contents;
    }
    .dashboard-cta {
        display: none!important;
    }
}

.logo-area {
    display: flex;
    margin: 30px;
}

.logout-button {
    width: 61px;
}

.sidebar-heading {
    margin: auto;
    margin-left: 0;
}

.dashboard-counter-container {
    margin-left: -15px;
    margin-right: -15px;
    margin-top: 40px;
    margin-bottom: 15px;
}

.dashboard-counter {
    background: #fff;
    border-radius: 25px;
    padding: 25px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
}

.dashboard-card-heading {
    color: #718EBF;
    font-size: 16px;
    font-weight: 300;
}

.dashboard-card-description {
    color: #232323;
    font-size: 25px;
    font-weight: 600;
}

.dashboard-heading {
    font-size: 22px;
    color: #343C6A;
    font-weight: 600;
}

.dashboard-cta {
    background: #fff;
    border-radius: 25px;
    padding: 35px 25px;
    display: flex;
    justify-content: space-between;
    margin-bottom: 45px;
}

.dashboard-cta-heading {
    font-weight: 600;
    font-size: 22px;
    color: #343C6A;
    margin: auto;
    margin-left: 0;
}

.dashboard-button {
    display: inline-block;
    background: #1814F3;
    color: #fff;
    padding: 10px 45px;
    font-size: 18px;
    border-radius: 9px;
    cursor: pointer;
    text-decoration: none;
}

.dashboard-button:hover,
.dashboard-button:focus {
    background: #0300cd;
    color: #fff;
    text-decoration: none;
}

@media screen and (max-width: 450px) {
    .profile-buttons-sidebar {
        gap: 5px;
        display: flex;
    }

    .profile-buttons-sidebar {
        padding: 10px;
    }

    .header-avatar {
        width: 45px;
        height: 45px;
    }

    .logout-button {
        width: 46px;
    }

    .navbar {
        padding: 0 !important;
    }

    .navbar-light .navbar-toggler {
        width: 45px;
        min-height: 45px;
    }

    .navbar-light .navbar-toggler-icon {
        width: -webkit-fill-available;
    }

    .menu-icon {
        padding-right: 5px;
    }

    .navbar-collapse {
        padding: 0px 10px;
        margin-top: 250px;
    }

    .nav-pills .nav-link {
        width: 90px;
        font-size: 12px;
        padding: .5rem .5rem;
    }

    .nav-link.active::after {
        margin-left: -8px;
        border-right: 90px solid #1814F3;
    }

    .invisible-button {
        display: none;
    }

    .password-input {
        border-top-right-radius: 8px !important;
        border-bottom-right-radius: 8px !important;
    }

}

@media screen and (max-width: 330px) {
    .login-input {
        padding: 10px 15px !important;
        font-size: 10px;
    }

    .settings-small-heading {
        margin: 10px 0px;
        font-size: 12px;
    }

    .login-button {
        padding: 10px;
    }

    .profile-buttons-sidebar {
        margin: auto !important;
    }

    .custom-switch-text {
        display: none;
    }

    .header h2 {
        font-size: 1rem;
    }

    .webcam-area {
        display: block;
    }

    .webcam-buttons {
        margin-right: 0;
        margin-bottom: 10px;
    }

    .image-container .webcam-buttons {
        margin-right: 3px;
        margin-left: 3px;
    }

    .circle-button {
        width: -webkit-fill-available;
        margin-bottom: 0;
    }

    .col-6 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }

    .medium-padding {
        padding: 30px;
    }

    .card-body {
        display: grid;
    }

    .badge-on-photo {
        margin-bottom: 5px;
        display: none;
        margin-right: 0;
    }

    .username-badge {
        display: inline-block;
        font-size: 9px;
    }

    .settings-button,
    .settings-button-logout {
        width: 100% !important;
        padding: 10px 15px;
        display: flex;
        margin-top: 10px;
    }

    .logo {
        display: none;
    }

    .logo-area {
        margin: 0;
    }

    .success-message {
        padding: 5px 10px;
        font-size: 12px;
    }

    .error-message {
        padding: 5px 10px;
        font-size: 12px;
    }

    .change-password-form {
        font-size: 11px;
    }

    .password-input {
        font-size: 10px;
    }

    .medium-padding {
        padding: 15px;
    }

    .small-mobile-hide {
        display: none;
    }

    .login-small-heading {
        font-size: 16px;
    }

    .login-button {
        font-size: 14px;
    }
    .like-count {
        display: none;
    }
    .comment-box {
        display: none;
    }
    .btn-like {
        margin-bottom: 0!important;
    }
    .filter-row {
        margin-top: 255px!important;
    }
}

@media screen and (max-width: 210px) {
    .avatar-settings {
        width: 80px;
        height: 80px;
    }

    .edit-image-button {
        margin-top: 75px;
    }

    .medium-padding {
        padding: 5px;
    }

    .auth-row {
        margin: 0px !important;
    }
}

@media screen and (max-width: 175px) {
    .change-password-container {
        padding: 5px;
    }

    .webcam-area {
        padding: 10px 10px;
    }

    .filter-row {
        padding: 5px;
    }

    .webcam-buttons {
        min-width: 20px;
        height: 40px;
        margin-right: 3px;
        margin-left: 3px;
    }

    .header-avatar {
        display: none;
    }

    .navbar-light .navbar-nav .nav-link {
        font-size: 12px;
    }

    .menu-icon {
        display: none;
    }

    .navbar-collapse {
        padding: 0px 10px;
        margin-top: 195px;
    }
}

.share-panel {
    margin-bottom: 20px;
    margin-top: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
}

.share-heading {
    font-size: 18px;
    margin-bottom: 10px;
}

.share-buttons a {
    margin-right: 10px;
    display: inline-block;
    color: #fff;
    font-size: 22px;
    transition: transform 0.3s ease, color 0.3s ease;
    background: #1814F3;
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.share-buttons a:hover {
    background: #0300cd;
}

.min-logo {
        width: 36px;
        height: 36px;
    }
