/* Offcanvas Menu Styling */
.offcanvas {
    width: 480px !important;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border-left: 1px solid rgba(150, 188, 51, 0.1);
    transform: translateX(100%);
    visibility: hidden;
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    z-index: 1045;
}

.offcanvas.show {
    transform: translateX(0);
    visibility: visible;
}

.offcanvas-header {
    border-bottom: 1px solid rgba(150, 188, 51, 0.1);
    padding: 1.5rem;
}

.offcanvas-header img {
    width: 150px;
}

/* Menu Items */
.offcanvas-body {
    padding: 1.5rem;
}

.offcanvas-body .navbar-nav li {
    background: rgba(150, 188, 51, 0.03);
    margin-bottom: 0.8rem;
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 1px solid rgba(150, 188, 51, 0.1);
}

.offcanvas-body .navbar-nav li:hover {
    background: rgba(150, 188, 51, 0.1);
    transform: translateX(10px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Menu Item Layout */
.block-item {
    display: flex;
    padding: 1rem 1.5rem;
    align-items: center;
}

.block-item .block-icon {
    background: rgba(150, 188, 51, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.block-item:hover .block-icon {
    background: rgba(150, 188, 51, 0.8);
    z-index: 1;
    color: #ffffff !important;
}

.block-item .block-icon i {
    color: var(--nts-green);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

/* .block-item:hover .block-icon i {
    color: #ffffff !important;
} */

/* Menu Text */
.block-item .block-inner-content label {
    color: #fff;
    font-weight: 500;
    margin: 0;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.block-item:hover .block-inner-content label {
    color: var(--nts-green);
}

/* Close Button */
.offcanvas .btn-close {
    background-color: rgba(150, 188, 51, 0.1);
    opacity: 1 !important;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1046;
    filter: none !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 011.414 0L8 6.586 14.293.293a1 1 0 111.414 1.414L9.414 8l6.293 6.293a1 1 0 01-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 01-1.414-1.414L6.586 8 .293 1.707a1 1 0 010-1.414z'/%3e%3c/svg%3e") !important;
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

.offcanvas .btn-close:hover {
    background-color: rgba(150, 188, 51, 0.3);
    transform: scale(1.1);
}

/* Style for backdrop */
.offcanvas-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1040;
    cursor: default;
    pointer-events: none;
}

/* Ensure body scroll lock is properly handled */
body.modal-open {
    overflow: hidden;
    padding-right: 0 !important;
} 