.no-overflow{
    overflow: hidden;
}

@media (max-width: 900px){
    .mobile-mt-64px{
        margin-top: 64px;
    }
}

@media (min-width: 1000px){
    .fixed-terminal-width-block{
        max-width:274px;
    }
}

@media (min-width: 1600px){
    .fixed-terminal-width-block{
        max-width:317px;
    }
}

@media (min-width: 1900px){
    .fixed-terminal-width-block{
        max-width: 381px;
    }
}

.text-primary{
    color: #007bff;
}

.dark .text-primary{
    color: #60a5fa;
}

.text-danger{
    color: rgb(239 68 68);
}

.dark .text-danger{
    color: #f87171;
}

.text-success{
    color: #04B97D;
}

.dark .text-success{
    color: #34d399;
}

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

/* Alertify error toast - terminal theme */
.alertify-notifier .ajs-message{
    border-radius: 13px !important;
}

@media (min-width: 1024px){
    .alertify-notifier .ajs-message{
        width: 308px !important;
        min-width: 308px !important;
        max-width: 308px !important;
        height: 67px !important;
        box-sizing: border-box;
    }
}

/* Offset from right edge */
.alertify-notifier{
    right: 20px !important;
}

.alertify-notifier .ajs-message.ajs-error{
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 44px !important;
    background: #171717 !important;
    color: #e5e7eb !important; /* gray-200 */
    border: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
    line-height: 1.15;
}

.alertify-notifier .ajs-message.ajs-error::before{
    content: '';
    position: absolute;
    left: 14px;
    top: 18px;
    transform: none;
    width: 18px;
    height: 18px;
    background-image: url('/img/alertify_icon_err.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Structured content helpers */
.alertify-notifier .ajs-message .toast-title{
    font-weight: 700;
    font-size: 16px;
    color: #ffffff;
    margin-bottom: 2px;
}

.alertify-notifier .ajs-message .toast-subtitle{
    font-size: 12px;
    color: #9ca3af; /* gray-400 */
}

/* Ensure text block aligns vertically with icon */
.alertify-notifier .ajs-message > div{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Alertify success toast - terminal theme */
.alertify-notifier .ajs-message.ajs-success{
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px 12px 44px !important;
    background: #171717 !important;
    color: #e5e7eb !important; /* gray-200 */
    border: none !important;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45) !important;
    line-height: 1.15;
}

.alertify-notifier .ajs-message.ajs-success::before{
    content: '';
    position: absolute;
    left: 14px;
    top: 18px;
    transform: none;
    width: 18px;
    height: 18px;
    background-image: url('/img/alertify_icon_success.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}