.toast-container {
    position: fixed;
    bottom: 10px;
    right: 10px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 5px;
    transition: all 0.3s ease;
}

.toast-container .toast {
    transform: translateY(var(--translate, 0px)) scale(var(--scale, 1));
    transition: transform 0.25s ease, opacity 0.25s ease, height 0.25s ease;
    pointer-events: auto;
    z-index: 1;
}

.toast-container .toast.stacked {
    box-shadow: none;
}

.toast-container:hover .toast {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.toast-container .toast {
    display: flex;
    align-items: center;
    flex-direction: row;
    justify-content: space-between;
    background-color: #333;
    border: 1px solid #555;
    color: #fff;
    padding: 10px 15px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    gap: 10px;
    height: 20px;
    max-width: 350px;
    transition: height 0.3s ease, transform 0.25s ease;
    animation: toast-slide-in 0.25s ease;
    overflow: hidden;
}

@keyframes toast-slide-in {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0);
    }
}

@keyframes toast-slide-out {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(100%);
    }
}

.toast-container .toast.toast-default-error {
    background-color: #9e251d;
    border-color: #f44336;
}

.toast-container .toast .toast-icon {
    cursor: var(--cursor, default);
    transition: all 0.3s ease;
    color: #fff;
}

.toast-container .toast .toast-icon.lucide {
    width: 20px;
    height: 20px;
}

.toast-container .toast .toast-icon.toast-icon-image {
    width: 20px;
    height: 20px;
    filter: brightness(1);
}

.toast-container .toast .toast-icon.action:hover {
    color: #ccc;
    transform: scale(1.2);
    pointer-events: all;
}

.toast-container .toast .toast-icon.toast-icon-image.action:hover {
    filter: brightness(0.8);
    transform: scale(1.2);
}

.toast-container .toast .toast-text {
    flex: 1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    user-select: none;
}

.toast-container:hover .toast .toast-text {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
    word-break: break-word;
}

.toast-container .toast .toast-duration-bar {
    position: fixed;
    bottom: -1px;
    left: 0;
    width: 0;
    height: 3px;
    background-color: #ffffff;
    transition: width 0.3s linear;
    border-radius: 3px;
}

.toast-link {
    color: #ffffff;
    text-decoration: underline;
}

#organigrama-turismo-popup.popup-container {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;

    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 999999;
}

#organigrama-turismo-popup .popup {
    background: #333 !important;
    border: 1px solid #555 !important;
    color: white !important;
    border-radius: 20px !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .4) !important;
    width: 450px !important;
    max-width: 90vw !important;
    display: flex !important;
    flex-direction: column !important;
    font-size: 14px !important;
}

#organigrama-turismo-popup .popup-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 12px 16px !important;
    border-bottom: 1px solid #555 !important;
    background: #222 !important;
    border-radius: 20px 20px 0 0 !important;
}

#organigrama-turismo-popup .popup-header p {
    margin: 0 !important;
    font-weight: 600 !important;
    color: white !important;
}

#organigrama-turismo-popup .popup-header-close {
    cursor: pointer !important;
    font-size: 22px !important;
    color: white !important;
}

#organigrama-turismo-popup .popup-content {
    padding: 15px !important;
    max-height: 70vh !important;
    overflow-y: auto !important;
    box-sizing: border-box !important;
    width: 100% !important;
}

#organigrama-turismo-popup ol {
    margin: 0 0 10px 20px !important;
    padding: 0 !important;
    list-style: decimal !important;
    color: white !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
}

#organigrama-turismo-popup li {
    margin-bottom: 8px !important;
    color: white !important;
    line-height: 1.5 !important;
    font-size: 14px !important;
}

#organigrama-turismo-popup p {
    color: white !important;
    font-size: 14px !important;
    line-height: 1.5 !important;
    margin: 0 0 10px 0 !important;
}

#organigrama-turismo-popup a {
    color: #9EE3FF !important;
    text-decoration: underline !important;
    font-weight: bold !important;
}


.popup-error-code {
    display: flex;
    flex-direction: column;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #555;
    margin-bottom: 0px;
    user-select: none;
}

.popup-error-code code {
    background-color: #333;
    padding: 0px !important;
}

.popup-error-code-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #161616;
    border-bottom: 1px solid #555;
    padding: 10px 15px;
}

.popup-error-code-header-file {
    margin: 0px;
    font-size: 15px;
    user-select: none;
}

.popup-error-code-line:nth-child(2n) {
    background-color: transparent;
}

.popup-error-code-line:nth-child(2n+1) {
    background-color: #1f1f1f;
}

.popup-error-code-line {
    white-space: pre;
    display: flex;
    width: 100%;
    font-size: 15px;
    user-select: text;
}

.popup-error-code-line-number {
    user-select: none;
    margin-right: 5px;
    margin-left: 5px;
}

.popup-error-code-line:nth-child(2n).popup-error-code-line-highlight {
    background-color: #47430b;
    animation: popup-error-code-line-highlight 1s ease alternate infinite;
}

@keyframes popup-error-code-line-highlight {
    from {
        background-color: #47430b;
    }

    to {
        background-color: transparent;
    }
}

.popup-error-code-line:nth-child(2n+1).popup-error-code-line-highlight {
    background-color: #47430b;
    animation: popup-error-code-line-highlight-dark 1s ease alternate infinite;
}

@keyframes popup-error-code-line-highlight-dark {
    from {
        background-color: #47430b;
    }

    to {
        background-color: #1f1f1f;
    }
}

.input#onclick,
.input#icon_left_action,
.input#icon_right_action {
    resize: vertical;
}