/* Toast Notifications */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 360px;
}

.toast {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #1a1a1a;
    color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    font-size: 0.9375rem;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.3s ease;
}

.toast--visible {
    opacity: 1;
    transform: translateX(0);
}

.toast--hiding {
    animation: toastSlideOut 0.3s ease forwards;
}

@keyframes toastSlideOut {
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

.toast__icon { font-size: 1.125rem; flex-shrink: 0; }
.toast__message { flex: 1; line-height: 1.4; }
.toast__close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 4px;
    margin: -4px;
    margin-left: 8px;
    transition: color 0.2s ease;
}
.toast__close:hover { color: #ffffff; }
.toast--success { background: #10b981; }
.toast--error { background: #ef4444; }
.toast--warning { background: #f59e0b; }
.toast--info { background: #3b82f6; }

/* Sticky */
.sticky { position: sticky; top: 100px; }

/* Lazy Images */
img[loading="lazy"] { opacity: 0; transition: opacity 0.3s ease; }
img[loading="lazy"].loaded, img.loaded { opacity: 1; }

/* Aspect Ratios */
.aspect-16-9 { aspect-ratio: 16 / 9; }
.aspect-4-3 { aspect-ratio: 4 / 3; }
.aspect-1-1 { aspect-ratio: 1 / 1; }
.img-cover { object-fit: cover; width: 100%; height: 100%; }

/* SR Only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
