.toast {
    position: fixed;
    right: 24px;
    bottom: 24px;
    background: #111827;
    color: #fff;
    padding: 14px 18px;
    border-radius: 12px;
    border: 1px solid #374151;
    opacity: 0;
    transform: translateY(20px);
    transition: .3s;
    z-index: 9999;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.modal {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9998;
}

.modal.show {
    display: flex;
}

.modal-box {
    width: 520px;
    background: #111827;
    border: 1px solid #374151;
    border-radius: 18px;
    padding: 26px;
    box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

.modal-box textarea {
    width: 100%;
    margin-top: 12px;
    padding: 14px;
    border-radius: 12px;
    border: 1px solid #374151;
    background: #020617;
    color: #fff;
    resize: vertical;
}

.modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 18px;
}

.slide-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
    display: none;
    z-index: 9996;
}

.slide-overlay.show {
    display: block;
}

.slide-panel {
    position: fixed;
    top: 0;
    right: -620px;
    width: 620px;
    height: 100vh;
    background: #0f172a;
    border-left: 1px solid #374151;
    box-shadow: -20px 0 60px rgba(0,0,0,.45);
    z-index: 9997;
    padding: 30px;
    overflow-y: auto;
    transition: .35s ease;
}

.slide-panel.show {
    right: 0;
}

.slide-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 10px;
    background: #1f2937;
    color: #fff;
    font-size: 26px;
    cursor: pointer;
}

.slide-section {
    margin-bottom: 24px;
}

.slide-section h3 {
    margin-bottom: 12px;
}

.image-preview-modal {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

.image-preview-modal.show {
    display: flex;
}

.image-preview-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,.82);
    backdrop-filter: blur(4px);
}

.image-preview-target {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 18px;
    z-index: 2;
    box-shadow: 0 20px 80px rgba(0,0,0,.55);
}

.image-preview-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 46px;
    height: 46px;
    border: 0;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 28px;
    cursor: pointer;
    z-index: 3;
}

.auth-modal {
    position: fixed !important;
    inset: 0 !important;

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

    background: rgba(0,0,0,.65);
    z-index: 99999;
}

.auth-modal.show {
    display: flex !important;
}

.auth-modal-box {
    width: 520px;
    max-width: calc(100vw - 32px);

    background: #111827;
    border: 1px solid #374151;
    border-radius: 22px;

    padding: 34px;
    color: #fff;

    box-shadow: 0 30px 90px rgba(0,0,0,.55);
}

.auth-modal-box .btn {
    margin-top: 18px;
}