.striked {
    text-decoration: line-through;
}

.asterisk {
    color: red;
    font-weight: bold;
}

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

/* Styles for larger screens */
@media (min-width: 768px) {
    .icon-only {
        display: inline;
        /* Display the icon for larger screens */
    }

    .language-name {
        display: inline;
        /* Display the language name for larger screens */
    }
}

/* Styles for smaller screens (e.g., mobile) */
@media (max-width: 767px) {
    .icon-only {
        display: inline;
        /* Display the icon for smaller screens */
    }

    .language-name {
        display: none;
        /* Hide the language name for smaller screens */
    }
}

.installer-div {
    max-width: 1000px !important;
}

.sticky-note-bg-primary {
    background: #007bff;
    /* Bootstrap primary color */
    /* color: #fff; */
    /* White text color on a primary background */
}

.sticky-note-bg-secondary {
    background: #6c757d;
    /* Bootstrap secondary color */
    color: #fff;
    /* White text color on a secondary background */
}

.sticky-note-bg-success {
    background: #9dffb4;
    /* Bootstrap success color */
    color: #fff;
    /* White text color on a success background */
}

.sticky-note-bg-dark {
    background: #343a40;
    /* Bootstrap dark color */
    color: #fff;
    /* White text color on a dark background */
}

.sticky-note-bg-info {
    background: #cfc;
}

.sticky-note-bg-warning {
    background: #ffc;
}

.sticky-note-bg-danger {
    background: #fcc;
}

.sticky-notes,
.sticky-note {
    list-style: none;
}

.sticky-notes {
    overflow: hidden;
    padding: 2em;
}

.sticky-notes .sticky-note .sticky-content {
   font-family: 'Roboto Mono', monospace;

    text-decoration: none;
    color: #000;
    display: block;
    padding: 1em;
    overflow-wrap: break-word;
    -moz-box-shadow: 5px 5px 7px rgba(33, 33, 33, 1);
    -webkit-box-shadow: 5px 5px 7px rgba(33, 33, 33, 0.3);
    box-shadow: 5px 5px 7px rgba(33, 33, 33, 0.3);
    -moz-transition: -moz-transform 0.15s linear;
    -o-transition: -o-transform 0.15s linear;
    -webkit-transition: -webkit-transform 0.15s linear;
    -webkit-transform: rotate(-2deg);
    -o-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
}

.sticky-notes .sticky-note {
    margin-top: 1em;
    margin-bottom: 1em;
    /*float:left;*/
}

.sticky-notes .sticky-note:nth-child(even) .sticky-content {
    -o-transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    position: relative;
    top: 5px;
}

.sticky-notes .sticky-note:nth-child(3n) .sticky-content {
    -o-transform: rotate(-2deg);
    -webkit-transform: rotate(-2deg);
    -moz-transform: rotate(-2deg);
    position: relative;
    top: -5px;
}

.sticky-notes .sticky-note:nth-child(5n) .sticky-content {
    -o-transform: rotate(2deg);
    -webkit-transform: rotate(2deg);
    -moz-transform: rotate(2deg);
    position: relative;
    top: -10px;
}

.sticky-notes .sticky-note .sticky-content {
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;

}

.sticky-notes .sticky-note .sticky-content:hover,
.sticky-notes .sticky-note .sticky-content:focus {
    box-shadow: 15px 15px 15px rgba(0, 0, 0, 0.4); /* Increase shadow size and opacity for depth */

    position: relative;
    z-index: 10; /* Increase z-index for more prominence */

    border-radius: 5px; /* Add rounded corners */
    outline: none; /* Remove default focus outline */
}


.sticky-notes .sticky-note .sticky-content i {
    font-size: 12px;
    float: right;
    vertical-align: top;
    padding: 6px;
    cursor: pointer;
}

@media print {
    /* Reset some styles to maintain the column structure */
    body * {
        visibility: hidden;
    }

    .row::before,
    .row::after {
        content: "";
        display: table;
        clear: both;
    }

    #section-not-to-print,
    #section-not-to-print * {
        display: none;
    }

    #section-to-print,
    #section-to-print * {
        visibility: visible;
    }

    #section-to-print {
        position: absolute;
        left: 0;
        top: 0;
    }

    /* Adjust other specific styles as needed for your layout */
}

.language-dropdown {
    min-width: auto !important;
    width: auto !important;
}

@media (max-width: 768px) {
    .menu-container {
        max-height: calc(100vh - 50px) !important;
        overflow-y: auto !important;
    }
}

@media (max-width: 768px) {
    /* You can adjust the max-width as needed */
    .demo-mode {
        display: none;
        /* Hide the badge on mobile devices */
    }
}

@media (min-width: 769px) {
    .demo-mode-icon-only i {
        display: none;
        /* Hide the icon on large devices */
    }
}

@media (max-width: 768px) {
    .nav-item .nav-mobile-hidden {
        display: none;
    }
}

.timer-img {
    width: 55px !important;
    border-radius: 50px;
    cursor: pointer;
    position: fixed;
    bottom: 0.7rem;
    right: 1.625rem;
    z-index: 999999;
    transition: transform 0.3s ease;
    /* Adding transition for smooth animation */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

.timer-img:hover {
    transform: translateY(-5px);
    /* Lift the image slightly on hover */
}

/* Stopwatch container */
.stopwatch {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.stopwatch_time {
    text-align: center;
    margin: 0 10px;
}

.stopwatch_time_input {
    padding: 1em !important;
    text-align: center !important;
    border-radius: 5px !important;
    border-color: #6c757d !important;
    background: #6c757d !important;
    color: #ffffff !important;
    padding: 0.5em 0 !important;
    font-size: 3em !important;
    padding-top: 1em !important;
    padding-bottom: 1em !important;
    font-weight: bold;
}

.stopwatch_time_lable {
    margin-top: 5px;
    font-size: 12px;
    color: #666;
}

/* Buttons */
.selectgroup {
    display: flex;
    justify-content: center;
}

.selectgroup-item {
    margin: 0 5px;
}

.selectgroup-button {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    border-color: #e4e6fc;
    border-width: 1px;
    border-style: solid;
    border-radius: 50%;
    cursor: pointer;
    background-color: #007bff;
    color: white;
    transition: background-color 0.3s ease;
}

.selectgroup-button:hover {
    background-color: #0056b3;
}

#start[disabled],
#end[disabled],
#pause[disabled] {
    background: none !important;
    color: var(--gray) !important;
}
#stopTimerModal {
    z-index: 1100;
}

/* Hide on smaller screens (mobile) */
@media (max-width: 768px) {
    .hide-mobile {
        display: inline;
    }

    .show-mobile {
        display: none;
    }
}
.img-box {
    position: relative;
    width: 100%;
    padding-top: calc(12 / 16 * 100%);
    /* 16:9 aspect ratio (height = width * 9/16) */
    overflow: hidden;
}

.img-box img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: ease-in-out 0.5s;
    /* Ensure the image covers the entire container */
}
/* .img-box img:hover{ */
/* transition: ease-in-out 0.5s; */
/* transform: scale(1.1); */
/* cursor: pointer; */
/* } */

.text-orange {
    background-color: #ff204e;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.text-black {
    background-color: #000;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.text-gradient-pink-soft {
    /* Create a gradient background */
    background-color: #7752fe;
    /* Apply text fill with transparent background to maintain the gradient effect */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.text-gradient-purple-soft {
    background-color: #11235a;

    /* Create a gradient background */

    /* Apply text fill with transparent background to maintain the gradient effect */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.pricing-card:hover {
    cursor: pointer;
    opacity: 1;
    /* border: 1px solid #696cff !important */
}

.pricing-card:not(:hover) {
    cursor: pointer;
    border: 2px solid transparent;
    box-shadow: none;
}

.pricing-card:hover img {
    transform: scale(1.2);
}

.pricing-card:not(:hover) .card-body {
    opacity: 1;
}

.pricing-card:not(:hover) .card-title {
    color: #696cff;
}

.img-box {
    position: relative;
    width: 100%;
    margin: 2px auto;
    padding-top: calc(14 / 16 * 100%);
    overflow: hidden;
}

.img-box img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    object-fit: cover;
    transition: transform 1s;
}
.thumbnail-img {
    max-width: 100px; /* Adjust the maximum width as needed */
    max-height: 100px; /* Adjust the maximum height as needed */
    width: auto;
    height: auto;
    display: block;
    margin: 0 auto; /* Center the image horizontally */
}

.fs-small {
    font-size: small;
    width: 120px;
}

.promiser-sign {
    touch-action: none;
    user-select: none;
    border: 1px solid #6c757d !important;
}

.display-flex-wrap {
    display: flex;
    flex-wrap: wrap;
}
.min-height-200 {
    min-height: 200px;
}

.overflow-x-y-hidden {
    overflow-x: scroll;
    overflow-y: hidden;
}

.status-row {
    background-color: none;
    min-width: 300px;
    max-width: 300px;
}
.todo-description {
    max-width: 100px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

select2-close-mask {
    z-index: 2099 !important;
}
.select2-dropdown {
    z-index: 3051 !important;
}
/* Apply general styling to select2 elements */
.select2.select2-container.select2-container--default:not( #global-search + .select2-container ) {
    display: block !important;
    width: 100% !important;
    min-height: calc(2.25rem + 2px) !important;
    padding: 0.2rem 0.75rem !important;
    font-size: 1rem !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    color: white !important;
    background-color: #2f3349 !important;
    background-clip: padding-box !important;
    border: var(--bs-border-width) solid #434968;
    border-radius: 0.25rem !important;
    transition: border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out !important;
}

.order-actions-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(88px, 1fr));
    gap: 0.75rem;
    align-items: stretch;
    min-width: 190px;
}

.order-action-btn {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 0.65rem 0.85rem;
}

.fixed-table-body .order-actions-grid .btn,
.bootstrap-table .order-actions-grid .btn {
    width: 100%;
}
.select2-container--default
    .select2-selection--multiple:not(
        #global-search + .select2-container .select2-selection--single
    ) {
    border: 0px !important;
}
.select2-container--default .select2-selection--single {
    border: 0px !important;
}
.select2-container:not(#global-search + .select2-container)
    .select2-search--inline
    .select2-search__field {
    height: 21px !important;
}
/* Apply specific styling to #global-search select2 */
#global-search + .select2-container .select2-selection--single {
    height: auto !important;
    border: 0px !important;
    padding: 0.375rem 0.75rem !important;
    font-size: 1rem !important;
    line-height: 1.5 !important;
}

#global-search
    + .select2-container--default
    .select2-selection--single
    .select2-selection__arrow {
    display: none !important;
}

#global-search + .select2-container--default .select2-selection--single {
    width: 300px !important;
}

@media (max-width: 768px) {
    #global-search + .select2-container--default .select2-selection--single {
        width: 100px !important;
    }
}

#unreadNotificationsCount {
    position: relative;
    left: -10px;
    top: -8px;
    width: auto !important;
}

.statisticsDiv {
    height: 600px;
}

#confirmSaveColumnVisibility,
#edit_project_modal,
#edit_task_modal {
    z-index: 1091;
}

#create_status_modal,
#create_priority_modal,
#create_tag_modal,
#create_contract_type_modal {
    z-index: 1092;
}

.select-bg-label-success {
    color: #71dd37 !important;
    background-color: #e8fadf !important;
}

.select-bg-label-success:focus {
    border-color: #e8fadf !important;
}

.select-bg-label-primary {
    color: #696cff !important;
    background-color: #e7e7ff !important;
}

.select-bg-label-primary:focus {
    border-color: #e7e7ff !important;
}

.select-bg-label-secondary {
    color: #8592a3 !important;
    background-color: #ebeef0 !important;
}

.select-bg-label-secondary:focus {
    border-color: #ebeef0 !important;
}

.select-bg-label-danger {
    color: #ff3e1d !important;
    background-color: #ffe0db !important;
}

.select-bg-label-danger:focus {
    border-color: #ffe0db !important;
}

.select-bg-label-warning {
    color: #ffab00 !important;
    background-color: #fff2d6 !important;
}

.select-bg-label-warning:focus {
    border-color: #fff2d6 !important;
}

.select-bg-label-info {
    color: #03c3ec !important;
    background-color: #d7f5fc !important;
}

.select-bg-label-info:focus {
    border-color: #d7f5fc !important;
}

.select-bg-label-dark {
    color: #233446 !important;
    background-color: #dcdfe1 !important;
}

.select-bg-label-dark:focus {
    border-color: #dcdfe1 !important;
}
.chat-img {
    width: 54px !important;
    border-radius: 50px;
    cursor: pointer;
    position: fixed;
    bottom: 0.7rem;
    right: 6.625rem;
    padding: 10px;
    background-color: #ffffff;
    z-index: 999999;
    transition: transform 0.3s ease;
    /* Adding transition for smooth animation */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
}

.chat-img:hover {
    transform: translateY(-5px);
    /* Lift the image slightly on hover */
}

.chat-iframe-container {
    display: none;
    /* Hidden by default */
    position: fixed;
    bottom: 70px;
    /* Adjust to position above the chat icon */
    right: 10px;
    /* Adjust to position near the chat icon */
    width: 350px;
    /* Adjust width as needed */
    height: 500px;
    /* Adjust height as needed */
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    z-index: 999998;
}

.chat-iframe {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}
.statisticsDiv {
    height: 600px;
}

.tox-menu.tox-swatches-menu {
    z-index: 1000000 !important; /* Use a high z-index value */
}

/* Comment Discussions  Style */

.comment-thread {
    margin: auto;
    padding: 0 30px;
    border: 1px solid transparent;
}

.m-0 {
    margin: 0;
}

.sr-only {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Comment styles */
.comment {
    position: relative;
    margin: 20px auto;
}

.comment-heading {
    display: flex;
    align-items: center;
    height: 50px;
    font-size: 14px;
}

.comment-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 10px;
}

.comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-info {
    color: rgba(0, 0, 0, 0.5);
}

.comment-author {
    color: rgba(0, 0, 0, 0.85);
    font-weight: bold;
    text-decoration: none;
}

.comment-author:hover {
    text-decoration: underline;
}

.replies {
    margin-left: 20px;
}

/* Comment border link styles */
.comment-border-link {
    display: block;
    position: absolute;
    top: 50px;
    left: 0;
    width: 12px;
    height: calc(100% - 50px);
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    background-color: rgba(0, 0, 0, 0.1);
    background-clip: padding-box;
}

.comment-border-link:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

.comment-body {
    padding: 0 20px;
    padding-left: 28px;
}

.replies {
    margin-left: 28px;
}

/* Toggleable comment styles */
details.comment summary {
    position: relative;
    list-style: none;
    cursor: pointer;
}

details.comment summary::-webkit-details-marker {
    display: none;
}

details.comment:not([open]) .comment-heading {
    border-bottom: 1px solid rgba(0, 0, 0, 0.2);
}

.comment-heading::after {
    display: inline-block;
    position: absolute;
    right: 5px;
    align-self: center;
    font-size: 12px;
    color: rgba(0, 0, 0, 0.55);
}

.comment-heading {
    position: relative;
    padding-right: 20px; /* Space for the chevron */
}
.comment-heading {
    position: relative;
    padding-right: 20px;
}

.comment-heading::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #6c757d;
    border-bottom: 2px solid #6c757d;
    transform: translateY(-50%) rotate(45deg); /* Arrow pointing down */
    transition: transform 0.3s ease;
}

/* Arrow points up when the details element is open */
details[open] .comment-heading::after {
    transform: translateY(-50%) rotate(-135deg); /* Arrow pointing up */
}


/* Button styles */
.comment-body button {
    -moz-appearance: none;
    -webkit-appearance: none;
    appearance: none;
    font-size: 14px;
    padding: 4px 8px;
    color: rgba(0, 0, 0, 0.85);
    background-color: #fff;
    border: 1px solid rgba(0, 0, 0, 0.2);
    border-radius: 4px;
    margin-right: 10px;
    cursor: pointer;
}

.comment-body button:hover,
.comment-body button:focus,
.comment-body button:active {
    background-color: #ecf0f1;
}

/* Comment form styles */
.comment-form-container {
    margin-top: 20px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 4px;
}
.comment-actions .btn {
    font-size: 0.875rem;
    padding: 0.5rem 1rem;
}

.comment-actions .btn i {
    font-size: 1.25rem;
    vertical-align: middle;
}

.attachment-preview-container {
    position: relative;
}

.attachment-preview {
    display: none;
    position: relative;
    bottom: 100%;
    left: 0;
    background-color: #fff;
    /* border: 0.5px solid #ddd;
    border-radius: 4px; */
    /* box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1); */
    padding: 10px;
    z-index: 1000;
}

.attachment-preview img {
    max-width: 200px;
    max-height: 200px;
}
.comment-heading {
  transition: all 0.3s ease-in-out;
}

.comment-body {
  transition: all 0.3s ease-in-out;
  max-height: 0;
  overflow: hidden;
}

details[open] .comment-body {
  max-height: 100vh;
  padding: 20px;
}
.menu-search-bar {
    margin-bottom: 1rem;
}

#menu-search {
    width: 100%;
    padding: 0.5rem;
}
.status-selector,
.priority-selector {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.status-tag.selected,
.priority-tag.selected {
    opacity: 1;
    box-shadow: 0 0 0 2px #fff, 0 0 0 4px currentColor;
}

.status-tag[data-disabled="true"] {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Base class for the mind map container */
.mind-map-container {
    height: 800px;
    /* Default height for larger screens */
}

/* Adjust height for medium screens */
@media (max-width: 1200px) {
    .mind-map-container {
        height: 600px;
        /* Height for medium screens */
    }
}

/* Adjust height for small screens */
@media (max-width: 992px) {
    .mind-map-container {
        height: 500px;
        /* Height for small screens */
    }
}

/* Adjust height for extra small screens */
@media (max-width: 768px) {
    .mind-map-container {
        height: 400px;
        /* Height for extra small screens */
    }
}

/* Base class for mind map node */
jmnode {
    padding: 5px;
    border: 1px solid;
    cursor: pointer;
}
#deleteModal {
    z-index: 1200; /* Higher than other modals */
}
.max-height-450 {
    max-height: 450px;
    overflow-y: auto;
}
.scrollbar-thin{
     scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.2) transparent;
}
.tribute-container {
  position: absolute;
  top: 0;
  left: 0;
  max-height: 300px;
  max-width: 300px;
  overflow-y: auto;
  overflow-x: hidden;
  display: block;
  z-index: 1200000;
  background-color: #ffffff;
  border: none;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  padding: 8px 0;
  margin-top: 5px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
}

.tribute-container ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.tribute-container li {
  padding: 10px 15px;
  cursor: pointer;
  font-size: 14px;
  color: #333333;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
}

.tribute-container li.highlight,
.tribute-container li:hover {
  background-color: #f0f7ff;
  color: #0066cc;
}

.tribute-container li span {
  font-weight: 600;
  color: #0066cc;
  margin-right: 5px;
}

.tribute-container li.no-match {
  cursor: default;
  color: #999999;
  padding: 15px;
  text-align: center;
  font-style: italic;
}

.tribute-container .menu-highlighted {
  font-weight: 600;
  background-color: #e6f2ff;
}

.tribute-container::-webkit-scrollbar {
  width: 6px;
}

.tribute-container::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.tribute-container::-webkit-scrollbar-thumb {
  background: #c1c1c1;
  border-radius: 10px;
}

.tribute-container::-webkit-scrollbar-thumb:hover {
  background: #999999;
}

/* Add a subtle animation for smoother appearance */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.tribute-container {
  animation: fadeIn 0.2s ease-out;
}



/* Improve readability for highlighted text */
.tribute-container li.highlight span,
.tribute-container li:hover span {
  color: #004999;
}

/* Add a subtle separator between items */
.tribute-container li:not(:last-child) {
  border-bottom: 1px solid #f0f0f0;
}


.input-group .error-message {
    display: block;
    color: red;
    font-size: 0.875rem; /* Slightly smaller than normal text */
    margin-top: 0.25rem;
    position: relative;
}

/* Ensure that the input doesn't overlap with the error */
.input-group .form-control {
    margin-bottom: 0;
}

.input-group .error-message {
    margin-left: 0; /* Align the error message below the input group */
}


.menu-item {
    position: relative;
}

.pin-icon {
    position: absolute;
    right: 32px;
    top: 50%; /* Center vertically */
    transform: translateY(-50%); /* Ensures vertical center */
    cursor: pointer;
    opacity: 0.4;
    transition: opacity 0.2s, transform 0.2s ease-in-out; /* Added transition for smooth transform */
    font-size: 18px;
}

.pin-icon:hover {
    opacity: 0.6;
}

.menu-item.pinned .pin-icon {
    opacity: 1;
    transform: translateY(-50%) rotate(-320deg); /* Tilts the icon by -20 degrees */
}

.menu-item:not(:hover):not(.pinned) .pin-icon {
    display: none;
}

.daterangepicker .prev i {
    font-family: 'boxicons' !important;
    content: "\eb41"; /* Boxicons left arrow (bx-chevron-left) */
}

.daterangepicker .next i {
    font-family: 'boxicons' !important;
    content: "\eb42"; /* Boxicons right arrow (bx-chevron-right) */
}

.fc-event {
    cursor: pointer;
}
.status-column {
    min-width: 250px;
}

.priority-column {
    min-width: 200px;
}
.payment-option {
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    border-color: #d9dee3;
    background-color: transparent;
}

.payment-option:hover {
    border-color: #696cff;
    background-color: #f8f7ff;
}

.btn-check:checked + .payment-option {
    border-color: #696cff;
    background-color: #f8f7ff;
}

.btn-check:focus + .payment-option {
    border-color: #696cff;
    box-shadow: 0 0 0.25rem 0.05rem rgba(105, 108, 255, 0.1);
}

.payment-option:active {
    transform: scale(0.98);
}

:root {
    --vision-body-bg: #0b1127;
    --vision-surface: rgba(19, 26, 54, 0.86);
    --vision-surface-strong: rgba(10, 15, 31, 0.94);
    --vision-border: rgba(255, 255, 255, 0.08);
    --vision-text: #ffffff;
    --vision-text-soft: #93a4c8;
    --vision-green: #22c55e;
    --vision-green-dark: #15803d;
    --vision-shadow: 0 26px 60px rgba(2, 8, 23, 0.28);
}

html body {
    background-color: #0b1127;
    background-image:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 18%),
        linear-gradient(180deg, rgba(20, 27, 55, 0.84) 0%, rgba(11, 17, 39, 0.92) 100%),
        url("../img/vision/background-body-admin.png");
    background-size: auto, auto, auto, cover;
    background-position: top left, top right, center, center;
    background:
        radial-gradient(circle at top left, rgba(34, 197, 94, 0.08), transparent 24%),
        radial-gradient(circle at top right, rgba(59, 130, 246, 0.08), transparent 18%),
        linear-gradient(180deg, rgba(20, 27, 55, 0.84) 0%, rgba(11, 17, 39, 0.92) 100%),
        url("../img/vision/background-body-admin.png");
    color: var(--vision-text);
}

.layout-wrapper,
.layout-container,
.layout-page,
.content-wrapper {
    background: transparent !important;
}

.layout-page {
    min-height: 100vh;
    padding-right: 16px;
    padding-bottom: 16px;
}

.layout-menu-fixed .layout-menu,
.layout-menu-fixed-offcanvas .layout-menu {
    width: 275px !important;
}

.layout-menu-fixed:not(.layout-menu-collapsed) .layout-page,
.layout-menu-fixed-offcanvas:not(.layout-menu-collapsed) .layout-page {
    padding-left: 0;
    margin-left: 291px !important;
}

.layout-navbar-fixed .layout-navbar {
    z-index: 11;
}

.layout-navbar-fixed:not(.layout-menu-collapsed) .layout-content-navbar:not(.layout-without-menu) .layout-navbar,
.layout-menu-fixed.layout-navbar-fixed:not(.layout-menu-collapsed) .layout-content-navbar:not(.layout-without-menu) .layout-navbar {
    width: calc(100vw - 323px) !important;
    left: auto !important;
    right: 16px !important;
}

.content-wrapper > .container-fluid {
    padding-left: 1.8rem;
    padding-right: 1.8rem;
}

.layout-navbar {
    margin: 16px 0 0 0;
}

.layout-navbar.navbar,
.landing-navbar,
#layout-navbar {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 22px;
    background: linear-gradient(135deg, rgba(20, 28, 58, 0.9), rgba(17, 24, 39, 0.86));
    backdrop-filter: blur(18px);
    box-shadow: 0 18px 40px rgba(3, 8, 20, 0.2);
}

.landing-navbar {
    min-height: 72px;
}

.layout-menu {
    margin: 16px 0 16px 16px;
    height: calc(100vh - 32px);
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(13, 19, 40, 0.96) 0%, rgba(11, 17, 35, 0.98) 100%) !important;
    box-shadow: var(--vision-shadow);
}

.menu-inner-shadow {
    display: none !important;
}

.app-brand {
    min-height: 78px;
    padding: 1.2rem 1.15rem 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-brand .app-brand-link {
    gap: 0.75rem;
    min-width: 0;
}

.app-brand .app-brand-text,
.menu-text {
    color: #f8fafc !important;
    letter-spacing: -0.02em;
    font-size: 1.55rem;
    font-weight: 700;
    line-height: 1;
}

.layout-menu-toggle {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    color: #b8c6eb !important;
    transition: all 0.2s ease;
}

.layout-menu-toggle:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff !important;
}

.menu-inner {
    flex: 1 1 auto;
    padding: 0.9rem 0.95rem 1rem !important;
}

.menu-vertical .menu-item > .menu-link {
    padding-top: 0.82rem;
    padding-bottom: 0.82rem;
    padding-left: 0.92rem;
    padding-right: 0.92rem;
    margin-bottom: 0.35rem;
    border-radius: 16px;
    color: #d8e2ff !important;
    min-height: 50px;
    transition: all 0.2s ease;
}

.menu-vertical .menu-item > .menu-link i {
    width: 34px;
    height: 34px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-right: 0.8rem;
    background: rgba(20, 28, 58, 0.92);
    color: #9ed7b4;
    transition: all 0.2s ease;
}

.menu-vertical .menu-item > .menu-link div {
    font-weight: 600;
}

.menu-vertical .menu-item.active > .menu-link,
.menu-vertical .menu-item.open > .menu-link,
.menu-vertical .menu-item > .menu-link:hover {
    background: linear-gradient(135deg, rgba(25, 34, 68, 0.96), rgba(18, 57, 34, 0.86));
    color: #fff !important;
    box-shadow: 0 16px 28px rgba(10, 16, 32, 0.24);
}

.menu-vertical .menu-item.active > .menu-link i,
.menu-vertical .menu-item.open > .menu-link i,
.menu-vertical .menu-item > .menu-link:hover i {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.22), rgba(16, 185, 129, 0.16));
    color: #d3ffe2;
}

.menu-vertical .menu-sub > .menu-item > .menu-link {
    color: #b9c7e8 !important;
    border-radius: 14px;
    padding-left: 1rem;
    min-height: 42px;
}

.menu-vertical .menu-sub > .menu-item.active > .menu-link {
    background: rgba(255, 255, 255, 0.04);
    color: #fff !important;
}

.menu-header {
    color: #6f84ad !important;
    font-size: 0.72rem !important;
    letter-spacing: 0.08em;
    margin: 0.8rem 0 0.45rem !important;
}

.vision-sidebar-help {
    padding: 0 1rem 1rem;
}

.vision-sidebar-help-card {
    width: 100%;
    padding: 1.15rem;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        linear-gradient(180deg, rgba(17, 23, 45, 0.96), rgba(15, 40, 30, 0.94)),
        url("../img/vision/sidebar-help.png");
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 34px rgba(2, 8, 23, 0.3);
}

.vision-sidebar-help-badge {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    background: rgba(34, 197, 94, 0.18);
    color: #d5ffe3;
    font-size: 1.1rem;
}

.vision-sidebar-help-title {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.vision-sidebar-help-text {
    color: #9ab0d7;
    font-size: 0.9rem;
    line-height: 1.45;
}

.navbar-nav-right {
    gap: 1rem;
}

.navbar-search-wrapper {
    width: min(100%, 1080px);
}

.navbar-search-wrapper .nav-link {
    width: 100%;
    min-height: 46px;
    padding: 0.9rem 1rem !important;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.navbar-search-wrapper .nav-link:hover {
    background: rgba(255, 255, 255, 0.05);
}

.bg-navbar-theme .navbar-nav > .nav-link,
.bg-navbar-theme .navbar-nav > .nav-item > .nav-link,
.bg-navbar-theme .navbar-nav > .nav > .nav-item > .nav-link {
    color: #d9e4ff;
}

.avatar img,
.rounded-circle {
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.card,
.accordion-item,
.offcanvas,
.modal-content,
.swal2-popup {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 24px !important;
    background: linear-gradient(180deg, rgba(41, 47, 78, 0.98), rgba(30, 34, 58, 0.98)) !important;
    box-shadow: var(--vision-shadow) !important;
}

.card-header,
.modal-header,
.offcanvas-header,
.accordion-button {
    background: transparent !important;
    color: #fff !important;
    border-color: rgba(255, 255, 255, 0.06) !important;
}

.card-title,
h1,
h2,
h3,
h4,
h5,
h6,
.modal-title {
    color: #fff !important;
}

.text-muted,
.text-body-secondary,
small,
.small {
    color: #91a3c8 !important;
}

.card-body,
.card-footer {
    color: #dce6ff;
}

.table,
.table > :not(caption) > * > * {
    color: #dbe5ff !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
}

.table thead th {
    color: #93a4c8 !important;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-size: 0.78rem;
}

.table-hover > tbody > tr:hover > * {
    background-color: rgba(255, 255, 255, 0.03) !important;
}

.table-responsive {
    border-radius: 18px;
}

.form-control,
.form-select,
.input-group-text {
    background: rgba(9, 14, 30, 0.82) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #f8fafc !important;
    border-radius: 16px !important;
}

.form-control::placeholder,
.form-select::placeholder {
    color: #7d8fb4 !important;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(34, 197, 94, 0.52) !important;
    box-shadow: 0 0 0 0.2rem rgba(34, 197, 94, 0.12) !important;
}

.form-label,
.col-form-label {
    color: #dbe7ff !important;
    font-weight: 600;
}

.input-group-text {
    color: #b8c8ec !important;
}

.btn-success,
.btn-primary {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    border-color: #1da64f !important;
    box-shadow: 0 12px 24px rgba(34, 197, 94, 0.2);
}

.btn-outline-success {
    border-color: rgba(34, 197, 94, 0.44) !important;
    color: #b2f5cc !important;
}

.btn-outline-success:hover {
    background: rgba(34, 197, 94, 0.12) !important;
}

.btn-outline-primary {
    border-color: rgba(148, 163, 184, 0.26) !important;
    color: #dbe5ff !important;
}

.btn-outline-primary:hover {
    background: rgba(255, 255, 255, 0.05) !important;
}

.btn-secondary,
.btn-outline-secondary {
    border-color: rgba(255, 255, 255, 0.12) !important;
}

.badge {
    border-radius: 999px !important;
    font-weight: 700 !important;
    letter-spacing: 0.02em;
}

.bg-label-success,
.bg-success-subtle {
    background: rgba(34, 197, 94, 0.14) !important;
    color: #b6f5cf !important;
}

.bg-label-primary {
    background: rgba(99, 102, 241, 0.16) !important;
    color: #d8ddff !important;
}

.bg-label-danger {
    background: rgba(239, 68, 68, 0.14) !important;
    color: #ffd4d4 !important;
}

.dropdown-menu {
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 18px !important;
    background: rgba(18, 24, 44, 0.96) !important;
    backdrop-filter: blur(18px);
    box-shadow: var(--vision-shadow) !important;
}

.dropdown-item {
    color: #dce6ff !important;
    border-radius: 12px;
}

.dropdown-item:hover,
.dropdown-item:focus {
    background: rgba(255, 255, 255, 0.05) !important;
}

.nav-tabs,
.nav-pills {
    gap: 0.45rem;
    border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

.nav-tabs .nav-link,
.nav-pills .nav-link {
    color: #cdd8f7 !important;
    border-radius: 14px !important;
    border-color: transparent !important;
}

.nav-tabs .nav-link.active,
.nav-pills .nav-link.active {
    background: rgba(34, 197, 94, 0.14) !important;
    color: #fff !important;
    border-color: rgba(34, 197, 94, 0.18) !important;
}

.page-link {
    background: rgba(11, 17, 35, 0.82) !important;
    border-color: rgba(255, 255, 255, 0.08) !important;
    color: #dbe6ff !important;
}

.page-item.active .page-link {
    background: linear-gradient(135deg, #22c55e, #16a34a) !important;
    border-color: #1da64f !important;
}

.alert-success {
    background: rgba(34, 197, 94, 0.12) !important;
    color: #d3ffe2 !important;
    border: 1px solid rgba(34, 197, 94, 0.22) !important;
}

.alert-danger {
    background: rgba(239, 68, 68, 0.12) !important;
    color: #ffd4d4 !important;
    border: 1px solid rgba(239, 68, 68, 0.2) !important;
}

@media (max-width: 1199.98px) {
    .layout-page {
        padding-right: 0;
    }

    .layout-menu-fixed:not(.layout-menu-collapsed) .layout-page,
    .layout-menu-fixed-offcanvas:not(.layout-menu-collapsed) .layout-page {
        margin-left: 0 !important;
    }

    .layout-navbar-fixed:not(.layout-menu-collapsed) .layout-content-navbar:not(.layout-without-menu) .layout-navbar,
    .layout-menu-fixed.layout-navbar-fixed:not(.layout-menu-collapsed) .layout-content-navbar:not(.layout-without-menu) .layout-navbar {
        width: calc(100vw - 32px) !important;
        right: 16px !important;
    }

    .layout-menu {
        margin-left: 0;
        border-radius: 0;
        height: 100vh;
    }
}

/* ===== Refinos finais do painel Vision ===== */
.layout-menu-fixed:not(.layout-menu-collapsed) .layout-menu,
.layout-menu-fixed-offcanvas:not(.layout-menu-collapsed) .layout-menu {
    width: 275px !important;
}

.layout-menu-fixed.layout-menu-collapsed .layout-menu,
.layout-menu-fixed-offcanvas.layout-menu-collapsed .layout-menu {
    width: 94px !important;
}

.layout-menu-fixed.layout-menu-collapsed .layout-page,
.layout-menu-fixed-offcanvas.layout-menu-collapsed .layout-page {
    margin-left: 110px !important;
}

.layout-menu-hover.layout-menu-collapsed .layout-menu,
.layout-menu-hover.layout-menu-fixed .layout-menu,
.layout-menu-hover.layout-menu-fixed-offcanvas .layout-menu {
    width: 94px !important;
}

.layout-menu-hover.layout-menu-collapsed .layout-page {
    margin-left: 110px !important;
}

.layout-navbar-fixed.layout-menu-collapsed .layout-content-navbar:not(.layout-without-menu) .layout-navbar,
.layout-menu-fixed.layout-navbar-fixed.layout-menu-collapsed .layout-content-navbar:not(.layout-without-menu) .layout-navbar {
    width: calc(100vw - 142px) !important;
    right: 16px !important;
}

.layout-menu {
    overflow: hidden;
}

.menu-inner {
    overflow-x: hidden !important;
}

.app-brand .app-brand-link {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.app-brand .app-brand-logo {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
}

.app-brand .app-brand-logo img {
    display: block;
    max-width: 52px;
}

.app-brand .app-brand-text,
.menu-text {
    font-size: 1.1rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.layout-menu-collapsed .app-brand {
    justify-content: center;
    padding-left: 0.9rem !important;
    padding-right: 0.9rem !important;
}

.layout-menu-collapsed .app-brand .app-brand-text,
.layout-menu-collapsed .menu-header,
.layout-menu-collapsed .menu-text,
.layout-menu-collapsed .menu-toggle::after,
.layout-menu-collapsed .menu-sub,
.layout-menu-collapsed .menu-inner > .menu-item > .menu-link > div,
.layout-menu-collapsed .menu-inner > .menu-item > .menu-link .badge {
    display: none !important;
}

.layout-menu-collapsed .menu-vertical .menu-item > .menu-link {
    justify-content: center;
    padding-left: 0.55rem;
    padding-right: 0.55rem;
}

.layout-menu-collapsed .menu-vertical .menu-item > .menu-link i {
    margin-right: 0;
}

.layout-menu-collapsed .menu-vertical .menu-item:hover > .menu-link,
.layout-menu-hover .menu-vertical .menu-item:hover > .menu-link {
    background: linear-gradient(135deg, rgba(25, 34, 68, 0.96), rgba(18, 57, 34, 0.86));
}

.layout-menu-collapsed .menu-vertical .menu-sub,
.layout-menu-hover .menu-vertical .menu-sub {
    display: none !important;
}

.menu-vertical .menu-sub {
    padding-left: 0.75rem;
}

.menu-vertical .menu-sub > .menu-item > .menu-link {
    padding-left: 1rem !important;
    padding-right: 0.85rem !important;
}

.menu-vertical .menu-sub > .menu-item > .menu-link::before,
.menu-vertical .menu-sub > .menu-item > .menu-link::after {
    display: none !important;
    content: none !important;
}

.menu-vertical .menu-sub > .menu-item > .menu-link i {
    display: none !important;
}

.menu-vertical .menu-toggle::after {
    color: #8fa3c7 !important;
}

.menu-vertical .menu-item > .menu-link:hover,
.menu-vertical .menu-item > .menu-link:focus {
    background: linear-gradient(135deg, rgba(24, 34, 68, 0.92), rgba(16, 52, 31, 0.82)) !important;
    color: #f8fbff !important;
}

.menu-vertical .menu-item > .menu-link:hover i,
.menu-vertical .menu-item > .menu-link:focus i {
    color: #bfffd2 !important;
}

.vision-topbar-title {
    min-width: 180px;
}

.vision-topbar-title small {
    color: #7f93bb !important;
    letter-spacing: 0.08em;
}

.vision-topbar-title .fw-semibold {
    font-size: 1.05rem;
}

.dashboard-shell .vision-widget-card,
.dashboard-shell .vision-chart-card,
.dashboard-shell .vision-transaction-card {
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 24px;
    background: linear-gradient(180deg, rgba(42, 48, 78, 0.98), rgba(31, 35, 58, 0.98)) !important;
    box-shadow: 0 20px 45px rgba(2, 8, 23, 0.26);
}

.dashboard-shell .vision-kpi-item,
.dashboard-shell .vision-finance-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.1rem;
    min-height: 100%;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    background: rgba(10, 15, 30, 0.34);
}

.dashboard-shell .vision-kpi-icon,
.dashboard-shell .vision-finance-icon {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    font-size: 1.2rem;
}

.dashboard-shell .vision-kpi-icon.primary,
.dashboard-shell .vision-finance-icon.primary {
    background: rgba(99, 102, 241, 0.18);
    color: #dbe3ff;
}

.dashboard-shell .vision-kpi-icon.info,
.dashboard-shell .vision-finance-icon.info {
    background: rgba(56, 189, 248, 0.18);
    color: #d7f3ff;
}

.dashboard-shell .vision-kpi-icon.success,
.dashboard-shell .vision-finance-icon.success {
    background: rgba(34, 197, 94, 0.18);
    color: #d7ffe7;
}

.dashboard-shell .vision-kpi-icon.warning,
.dashboard-shell .vision-finance-icon.warning {
    background: rgba(245, 158, 11, 0.18);
    color: #ffefc7;
}

.dashboard-shell .vision-section-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.dashboard-shell .vision-list {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.dashboard-shell .vision-list-item {
    padding: 0.95rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 18px;
    background: rgba(11, 17, 35, 0.4);
}

.settings-preview img,
.company-logos img {
    image-rendering: -webkit-optimize-contrast;
}

@media (max-width: 1199.98px) {
    .layout-menu {
        width: min(88vw, 320px) !important;
        margin: 0 !important;
        border-radius: 0 24px 24px 0;
    }

    .layout-navbar-fixed .layout-content-navbar:not(.layout-without-menu) .layout-navbar,
    .layout-menu-fixed.layout-navbar-fixed .layout-content-navbar:not(.layout-without-menu) .layout-navbar,
    .layout-navbar-fixed.layout-menu-collapsed .layout-content-navbar:not(.layout-without-menu) .layout-navbar,
    .layout-menu-fixed.layout-navbar-fixed.layout-menu-collapsed .layout-content-navbar:not(.layout-without-menu) .layout-navbar {
        width: calc(100vw - 24px) !important;
        right: 12px !important;
    }

    .content-wrapper > .container-fluid {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .vision-topbar-title {
        min-width: 0;
    }
}

@media (max-width: 767.98px) {
    .layout-navbar {
        margin-top: 12px;
    }

    .layout-navbar.navbar,
    .landing-navbar,
    #layout-navbar {
        border-radius: 20px;
    }

    .navbar-search-wrapper {
        width: 100%;
    }

    .navbar-search-wrapper .nav-link {
        min-height: 42px;
        padding: 0.75rem 0.9rem !important;
    }

    .fixed-table-toolbar,
    .fixed-table-toolbar .columns,
    .fixed-table-toolbar .search,
    .fixed-table-toolbar .btn-group {
        width: 100% !important;
        float: none !important;
    }

    .fixed-table-toolbar {
        display: flex;
        flex-direction: column;
        gap: 0.75rem;
    }

    .fixed-table-toolbar .search input,
    .fixed-table-toolbar .btn-group > .btn,
    .fixed-table-toolbar .columns .btn {
        width: 100% !important;
    }

    .dashboard-shell .vision-kpi-item,
    .dashboard-shell .vision-finance-item {
        padding: 0.9rem;
        border-radius: 18px;
    }

    .dashboard-shell .vision-kpi-icon,
    .dashboard-shell .vision-finance-icon {
        width: 46px;
        height: 46px;
    }
}

/* ===== Ajustes finais do menu e navegacao ===== */
.layout-menu-fixed .layout-menu,
.layout-menu-fixed-offcanvas .layout-menu {
    z-index: 1032;
}

.layout-overlay {
    background: rgba(6, 10, 24, 0.62) !important;
}

.menu-vertical .menu-item > .menu-link:hover,
.menu-vertical .menu-item > .menu-link:focus,
.menu-vertical .menu-item > .menu-link:active,
.menu-vertical .menu-item.active > .menu-link,
.menu-vertical .menu-item.open > .menu-link {
    background: linear-gradient(135deg, rgba(35, 48, 92, 0.98), rgba(18, 71, 40, 0.92)) !important;
    color: #ffffff !important;
}

.menu-vertical .menu-item > .menu-link:hover div,
.menu-vertical .menu-item > .menu-link:focus div,
.menu-vertical .menu-item > .menu-link:active div,
.menu-vertical .menu-item.active > .menu-link div,
.menu-vertical .menu-item.open > .menu-link div {
    color: #ffffff !important;
}

.menu-vertical .menu-item > .menu-link:hover::before,
.menu-vertical .menu-item > .menu-link:hover::after,
.menu-vertical .menu-item > .menu-link:focus::before,
.menu-vertical .menu-item > .menu-link:focus::after {
    display: none !important;
    content: none !important;
}

.menu-vertical .menu-item > .menu-link,
.menu-vertical .menu-sub > .menu-item > .menu-link {
    background-image: none !important;
}

.menu-vertical .menu-toggle::after {
    right: 1rem !important;
}

.layout-menu-collapsed .layout-menu:hover,
.layout-menu-hover.layout-menu-collapsed .layout-menu:hover {
    width: 94px !important;
}

.layout-menu-collapsed .layout-page,
.layout-menu-hover.layout-menu-collapsed .layout-page {
    transition: margin-left .2s ease;
}

.layout-menu-collapsed .app-brand .app-brand-link {
    justify-content: center;
}

.layout-menu-collapsed .app-brand .app-brand-logo img {
    max-width: 34px;
}

.layout-menu-collapsed .layout-menu-toggle {
    margin-left: 0 !important;
}

.layout-menu-collapsed .menu-item.active .menu-link,
.layout-menu-collapsed .menu-item.open .menu-link {
    box-shadow: 0 14px 28px rgba(9, 15, 30, 0.28);
}

.layout-menu-collapsed .menu-inner > .menu-item > .menu-link,
.layout-menu-collapsed .menu-vertical .menu-item > .menu-link {
    width: 100%;
}

.layout-menu .menu-item .menu-sub .menu-item.active > .menu-link {
    background: rgba(255, 255, 255, 0.08) !important;
    box-shadow: none !important;
}

.layout-navbar .nav-item .nav-link:hover,
.layout-navbar .nav-item .nav-link:focus {
    color: #ffffff !important;
}

@media (max-width: 1199.98px) {
    .layout-menu {
        max-width: min(88vw, 320px);
    }

    .layout-menu:not(.menu-no-animation) {
        box-shadow: 0 28px 60px rgba(2, 8, 23, 0.38);
    }
}

/* ===== Menu responsivo e hover ===== */
@media (min-width: 1200px) {
    .layout-menu-hover.layout-menu-collapsed .layout-menu,
    .layout-menu-collapsed:not(.layout-menu-hover) .layout-menu {
        width: 94px !important;
    }

    .layout-menu-collapsed .layout-menu:hover {
        width: 94px !important;
    }
}

@media (max-width: 1199.98px) {
    .layout-page,
    .layout-menu-fixed.layout-menu-collapsed .layout-page,
    .layout-menu-hover.layout-menu-collapsed .layout-page {
        margin-left: 0 !important;
        padding-left: 0 !important;
    }

    .layout-menu-fixed.layout-menu-collapsed .layout-menu,
    .layout-menu-hover.layout-menu-collapsed .layout-menu {
        width: min(88vw, 320px) !important;
        transform: translateX(-102%) !important;
    }

    .layout-menu-expanded .layout-menu {
        transform: translateX(0) !important;
    }

    .layout-overlay {
        left: 0 !important;
        width: 100vw !important;
    }
}

.menu-vertical .menu-link,
.menu-vertical .menu-link div,
.menu-vertical .menu-link i {
    transition: background-color .2s ease, color .2s ease, box-shadow .2s ease, opacity .2s ease !important;
}

.menu-vertical .menu-item > .menu-link:hover,
.menu-vertical .menu-sub > .menu-item > .menu-link:hover {
    background-color: transparent;
}

.layout-navbar .dropdown-style-switcher .nav-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
}

.layout-navbar .dropdown-style-switcher .nav-link i {
    font-size: 1.05rem;
}

/* ===== Troppa Tech V2: estabilidade final do layout ===== */
.vision-sidebar-help {
    display: none !important;
}

.menu-inner-shadow {
    display: none !important;
}

.landing-navbar-shell {
    justify-content: space-between;
    gap: 1.5rem;
}

.landing-navbar-shell .landing-nav-menu .navbar-nav .nav-link {
    padding: 0.65rem 0.95rem !important;
    border-radius: 999px;
    color: #dbe6ff !important;
}

.landing-navbar-shell .landing-nav-menu .navbar-nav .nav-link:hover,
.landing-navbar-shell .landing-nav-menu .navbar-nav .nav-link:focus {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #ffffff !important;
}

.layout-navbar .nav-item .nav-link:hover,
.layout-navbar .nav-item .nav-link:focus,
.layout-navbar .nav-link:hover,
.layout-navbar .nav-link:focus {
    background: rgba(255, 255, 255, 0.04) !important;
    color: #ffffff !important;
}

.menu-vertical .menu-item > .menu-link {
    border-radius: 18px;
}

.menu-vertical .menu-item > .menu-link .menu-text,
.menu-vertical .menu-sub > .menu-item > .menu-link .menu-text {
    position: relative;
    z-index: 2;
}

.menu-vertical .menu-item > .menu-link::before,
.menu-vertical .menu-item > .menu-link::after,
.menu-vertical .menu-sub > .menu-item > .menu-link::before,
.menu-vertical .menu-sub > .menu-item > .menu-link::after {
    display: none !important;
    content: none !important;
}

.menu-vertical .menu-sub {
    padding: 0.45rem 0 0.2rem 0.7rem;
}

.menu-vertical .menu-sub > .menu-item {
    margin-bottom: 0.35rem;
}

.menu-vertical .menu-sub > .menu-item > .menu-link {
    min-height: 44px;
    padding-left: 1.05rem !important;
    background: rgba(9, 14, 30, 0.28) !important;
}

.menu-vertical .menu-sub > .menu-item.active > .menu-link,
.menu-vertical .menu-sub > .menu-item > .menu-link:hover {
    background: linear-gradient(135deg, rgba(84, 91, 255, 0.94), rgba(98, 69, 255, 0.9)) !important;
    color: #fff !important;
}

.menu-vertical .menu-sub > .menu-item > .menu-link i {
    display: none !important;
}

.dashboard-v2 .chart-card,
.dashboard-v2 .feed-card,
.dashboard-v2 .content-card,
.dashboard-v2 .kpi-card {
    overflow: hidden;
}

.dashboard-v2 .hero-card {
    min-height: auto;
}

.dashboard-v2 .section-head .btn {
    white-space: nowrap;
}

@media (min-width: 1200px) {
    html.layout-menu-collapsed #layout-menu,
    html.layout-menu-hover #layout-menu {
        transform: none !important;
        width: 94px !important;
        visibility: visible !important;
    }

    html.layout-menu-collapsed .layout-page,
    html.layout-menu-hover .layout-page {
        margin-left: 110px !important;
    }
}

@media (max-width: 1199.98px) {
    #layout-menu {
        width: min(88vw, 320px) !important;
        transform: translateX(-108%) !important;
        visibility: hidden;
        opacity: 0;
        box-shadow: 0 30px 60px rgba(2, 8, 23, 0.45);
        border-radius: 0 26px 26px 0 !important;
    }

    html.layout-menu-expanded #layout-menu {
        transform: translateX(0) !important;
        visibility: visible !important;
        opacity: 1 !important;
    }

    html:not(.layout-menu-expanded) .layout-overlay {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .layout-navbar .navbar-nav-right {
        width: 100%;
    }

    .layout-navbar .navbar-search-wrapper {
        flex: 1 1 auto;
    }
}

@media (max-width: 767.98px) {
    .landing-navbar-shell {
        gap: 0.75rem;
    }

    .landing-nav-menu {
        padding-top: 0.75rem;
    }

    .dashboard-v2 .hero-copy {
        font-size: 0.98rem;
    }

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

    .layout-navbar .vision-topbar-title {
        min-width: 0;
        max-width: 100%;
    }

    .layout-navbar .vision-topbar-title .fw-semibold {
        font-size: 0.96rem;
        line-height: 1.2;
    }
}

@media (min-width: 768px) {
    .layout-menu-toggle.navbar-nav,
    #mobile-menu-close {
        display: none !important;
    }
}

#mobile-menu-close {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    color: #e8efff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#mobile-menu-close:hover,
#mobile-menu-close:focus {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}
