.left-menu .nav-link {
    color: white;
}

.left-menu .nav-link:hover {
    color: white;
    opacity: 0.7;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {

}

.left-menu {
    width: 250px;
    background: #2144CC !important;
}

.main {
    padding-left: 270px !important;
    width: 100%;
}

main {
    min-height: calc(100vh - 60px);
}

.wheel-section {
    /*background: #D7DFFF;*/
}


.wheel-section .wheel-container {
    position: relative;
    width: 500px;
    height: 500px;
}

.wheel-section svg {
    width: 100%;
    height: 100%;
}

.wheel-section .segment {
    cursor: pointer;
    transition: fill 0.2s;
}

.wheel-section .segment:hover {
    opacity: 0.7;
}

.wheel-section .label {
    font-size: 12px;
    fill: #333;
    text-anchor: middle;
    dominant-baseline: middle;
    pointer-events: none;
}

.display-none {
    display: none !important;
}

.login .form-group {
    width: 100%;
    max-width: 400px;
    display: flex;
    align-items: center;
    flex-direction: column;
}

.alert-dismissible {
    position: fixed;
    top: 16px;
    right: 16px;
    z-index: 100;
}

.nav-item.priority {
    position: relative;
}

.nav-item.priority::before {
    content: "★";
    position: absolute;
    z-index: 10;
    top: -2px;
    left: 0px;
    font-size: 20px;
    color: var(--bs-primary);
}

.goal-card {
    font-size: 14px;
}

.task {
    list-style: none;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .1);
    border-radius: 0 !important;
    box-shadow: none;
    font-size: 12px;
}

.task-container {
    display: flex;
    align-items: center;
}

.task .float-end {
    margin-left: auto;
}

.task .form-check-input {
    margin-top: 0;
    width: 20px;
    height: 20px;
}

.offcanvas-body hr {
    margin-top: 0 !important;
}

.burger-btn {
    max-height: max-content;
}

.offcanvas-backdrop.show {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100vw;
}

/* ≥1000px — обычное фиксированное меню */

#leftMenu {
    padding: 0 !important;
    width: 250px;
    transform: none !important;
    visibility: visible !important;
}


@media (max-width: 999px) {
    .site-index img {
        width: 100%;
    }

    .main {
        padding-left: 65px !important;
        width: 100%;
    }

    .navbar {
        z-index: 1000;
        min-width: 50px;
    }

    .burger-btn {
        position: fixed;
    }

    #leftMenu {
        position: fixed;
        max-width: 60px;
    }

    .offcanvas-body > hr {
        display: none;
    }

    .left-menu .nav-link {
        font-size: 9px;
        padding: 6px 0;
        margin-bottom: 6px;
        text-align: center;
    }

    .offcanvas-header {
        display: none;
    }

    .offcanvas-body {
        padding: 16px 2px;
    }

    .email-info {
        display: none;
    }

    .menu-login-btn {
        padding: 6px 2px;
        font-size: 12px;
    }
}


@media (max-width: 1200px) {
    .dashboard-wrapper {
        flex-direction: column;
    }
}

@media (max-width: 700px) {
    .title-wrapper {
        flex-direction: column;
        display: flex;
    }

    .habit-status-select {
        min-width: 100px !important;
    }
}

@media (max-width: 500px) {
    .display-5 {
        font-size: calc(1.025rem + 2.1vw);
    }

    .fs-5 {
        font-size: 1.05rem !important;
    }

    .save-vision {
        width: 100%;
    }

    .habit-card .card-body {
        flex-direction: column;
    }

    .goal-card .card-body > .d-flex {
        flex-wrap: wrap;
    }

    .goal-card .card-body {
        gap: 10px;
        flex-wrap: wrap;
    }

    .goal-card ul {
        padding-left: 0;
    }

    .goal-card h6 {
        margin-left: 0 !important;
    }

    .subtask-text {
        display: flex;
        flex-direction: column;
    }

    .goal-text {
        min-width: 100%;
    }

    .goal-status-select {
        max-width: 120px;
    }

    main.p-3 {
        padding: 16px 10px !important;
    }

    .goal-card .p-1 {
        margin-left: 0 !important;
    }

    .wheel-section .wheel-container {
        width: 90%;
    }

    .wheel-section {
        padding-left: 10px;
    }

    .wheel-section h2 {
        text-align: center;
        margin-bottom: 0 !important;
    }
}

@media (max-width: 400px) {
    .habit-item > .d-flex {
        flex-direction: column;
    }
}