::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-thumb {
    background-color: var(--alt5-background-dark-color);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--alt8-background-dark-color);
}

::-webkit-scrollbar-track {
    background-color: var(--alt3-background-dark-color-home);
}

/* ---Alert Start--- */
.alert {
    position: fixed;
    display: none;
    flex-direction: column;
    gap: 10px;
    top: 30px;
    right: 20px;
    z-index: 10000;
    max-width: 400px;
    width: 100%;
    max-height: 200px;
    animation: show 0.3s ease 1 forwards
}

.alert .alert-content {
    background: var(--alert-color);
    border-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    min-height: 100px;
}

.alert .alert-content .text {
    width: calc(100% - 60px);
}

.alert .alert-content .text h3 {
    text-align: center;
    color: #ffffffcc;
    margin-bottom: 5px;
}

.alert .alert-content .text p {
    text-align: center;
    color: #ffffffcc;
}

.alert .alert-content .close {
    margin-left: auto;
}

.alert .alert-content .close i {
    color: var(--locked-color);
    margin-right: 5px;
    font-size: 20px;
}

.alert .alert-content .icon i {
    font-size: 40px;
    height: 100%;
}

.alert .alert-content .icon i.success,
.alert .alert-content .text h3.success {
    color: var(--color-dis-success-hover);
}

.alert .alert-content .icon i.error,
.alert .alert-content .text h3.error {
    color: var(--color-dis-danger);
}

.alert .alert-content .icon i.warning,
.alert .alert-content .text h3.warning {
    color: var(--color-dis-yellow);
}

@keyframes show {
    0% {
        transform: translateX(100%);
    }

    40% {
        transform: translateX(-5%);
    }

    80% {
        transform: translateX(0%);
    }

    100% {
        transform: translateX(-10%);
    }
}

.alert .alert-content::before {
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: var(--alt5-background-dark-color);
    width: 100%;
    height: 3px;
    content: '';
    animation: timeOut 5s linear 1 forwards
}

@keyframes timeOut {
    to {
        width: 0;
    }
}

/* ---Alert End--- */



/* ---Alert Card Start--- */
.alert_card {
    padding: 0;
    position: fixed;
    display: none;
    flex-direction: column;
    top: 30px;
    right: 20px;
    z-index: 1000;
    align-items: center;
    justify-content: center;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 7, 12, 0.72);
    backdrop-filter: blur(10px);
    top: 0;
    left: 0;
}

.alert_card .card__content {
    background:
      radial-gradient(circle at top right, rgba(210, 24, 47, 0.22), transparent 35%),
      linear-gradient(180deg, rgba(24, 25, 29, 0.98), rgba(11, 12, 16, 0.98));
    min-width: min(750px, calc(100vw - 32px));
    min-height: 300px;
    width: min(1000px, calc(100vw - 32px));
    max-width: 1000px;
    text-align: center;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
}

@media screen and (max-width: 700px) {
    .alert_card .card__content {
        min-height: 0;
        padding: 18px;
    }

    .alert_card .card__content .order_title {
        font-size: 26px;
    }

    .alert_card .card__content .description {
        font-size: 16px;
    }
}

.alert_card .card__content .title {
    color: #fff;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    opacity: 0.72;
}

.alert_card .card__content .order_title {
    color: var(--color-gray1);
    font-size: 34px;
}

.alert_card .card__content .description {
    color: var(--color-gray1);
    font-size: 18px;
    line-height: 1.8;
}

.alert_card .card__content .inputs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
    padding: 12px 0;
}

.alert_card .card__content .inputs input,
.alert_card .card__content .inputs select,
.alert_card .card__content .inputs textarea {
    padding: 14px 16px;
    max-width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.08);
    outline: none;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
    font-size: 18px;
    border-radius: 14px;
}

.alert_card .card__content .inputs input:focus,
.alert_card .card__content .inputs select:focus,
.alert_card .card__content .inputs textarea:focus {
    border-color: rgba(210, 24, 47, 0.55);
    box-shadow: 0 0 0 4px rgba(210, 24, 47, 0.14);
}

.alert_card .card__content .inputs textarea {
    height: 150px;
    resize: none;
}

/* .alert_card .card__content .inputs input[type="text"]{
    
} */

.alert_card .card__content .buttons {
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.alert_card .card__content .buttons button.cancel {
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: #fff;
    font-size: 18px;
    border-radius: 12px;
}

.alert_card .card__content .buttons button.cancel:hover {
    background: rgba(255, 255, 255, 0.14);
}

.alert_card .card__content .buttons button.save {
    padding: 10px 18px;
    background: linear-gradient(135deg, var(--alt5-background-dark-color), var(--alt6-background-dark-color));
    border: none;
    color: #fff;
    font-size: 18px;
    border-radius: 12px;
}

.alert_card .card__content .buttons button.save:hover {
    background: linear-gradient(135deg, var(--alt8-background-dark-color), var(--alt5-background-dark-color));
}

@media screen and (max-width: 900px) {
    .alert_card {
        padding: 16px;
    }

    .alert_card .card__content {
        min-width: 100%;
        width: 100%;
        max-width: 100%;
        min-height: auto;
    }

    .alert_card .card__content .order_title {
        font-size: 28px;
    }
}

/* ---Alert Card End--- */
