#snackbar {
    visibility: hidden;
    min-width: 280px;
    margin-left: -140px;
    background: linear-gradient(135deg, #1A2332, #2A3649);
    color: #fff;
    text-align: center;
    border-radius: 12px;
    padding: 16px 24px;
    position: fixed;
    z-index: 9999999;
    left: 50%;
    top: 30px;
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 8px 32px rgba(26, 35, 50, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pointer {
    cursor: pointer !important;
}

.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    transform: translateX(-100%);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    100% {
        transform: translateX(100%);
    }
}

#snackbar.show {
    visibility: visible;
    -webkit-animation: fadein 0.3s ease-out, fadeout 0.3s ease-in 2.7s;
    animation: fadein 0.3s ease-out, fadeout 0.3s ease-in 2.7s;
}

@-webkit-keyframes fadein {
    from {
        top: -50px;
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
    to {
        top: 30px;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@keyframes fadein {
    from {
        top: -50px;
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
    to {
        top: 30px;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
}

@-webkit-keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    to {
        top: -50px;
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
}

@keyframes fadeout {
    from {
        top: 30px;
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    to {
        top: -50px;
        opacity: 0;
        transform: translateX(-50%) scale(0.9);
    }
}

.material-icons.md-18 {
    font-size: 18px;
    cursor: pointer;
}

.material-icons.md-24 {
    font-size: 24px;
    cursor: pointer;
}

.material-icons.md-36 {
    font-size: 36px;
    cursor: pointer;
}

.material-icons.md-48 {
    font-size: 48px;
    cursor: pointer;
}

.material-icons.md-dark {
    color: rgba(0, 0, 0, 0.54);
}

.material-icons.md-dark.md-inactive {
    color: rgba(0, 0, 0, 0.26);
}

.material-icons.md-light {
    color: rgba(255, 255, 255, 1);
}

.material-icons.md-light.md-inactive {
    color: rgba(255, 255, 255, 0.3);
}

.toast-container {
    z-index: 99999 !important;
}

.toast {
    background: linear-gradient(135deg, #1A2332, #2A3649) !important;
    border-radius: 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    box-shadow: 0 8px 32px rgba(26, 35, 50, 0.3) !important;
}

.toast-body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    font-size: 14px;
}

.btn-close-white {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.text-danger {
    color: #EF4444 !important;
}

.text-success {
    color: #10B981 !important;
}

.text-warning {
    color: #F59E0B !important;
}

.fade-in {
    animation: fadeInUp 0.4s ease-out forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.slide-in-right {
    animation: slideInRight 0.3s ease-out forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hover-lift {
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hover-lift:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(26, 35, 50, 0.12);
}

.truncate {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
