/* Toast container */
.rsl-toast {
    z-index: 10200;
    max-width: 350px;
    background-color: #f8f9fa;
    border: 1px solid rgba(0,0,0,.1);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15);
    border-radius: .25rem;
}

/* Toast header */
.rsl-toast-header {
    padding: .5rem .75rem;
    color: #fff;
    background-color: #007bff;
    border-bottom: 1px solid rgba(0,0,0,.1);
}

/* Toast body */
.rsl-toast-body {
    padding: .5rem .75rem;
}

/* Toast body links */
.rsl-toast-body a {
    color: #007bff;
    text-decoration: underline;
}

.rsl-toast-body a:hover {
    color: #0056b3;
}

/* Toast close button */
.rsl-toast-close {
    float: right;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1;
    color: #000;
    text-shadow: 0 1px 0 #fff;
    opacity: .5;
}

.rsl-toast-close:hover {
    color: #000;
    text-decoration: none;
    opacity: .75;
}

/* Position utilities */
.rsl-fixed {
    position: fixed;
}

.rsl-absolute {
    position: absolute;
}

.rsl-top-left {
    top: 1rem;
    left: 1rem;
}

.rsl-top-center {
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.rsl-top-right {
    top: 1rem;
    right: 1rem;
}

.rsl-bottom-left {
    bottom: 1rem;
    left: 1rem;
}

.rsl-bottom-center {
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
}

.rsl-bottom-right {
    bottom: 1rem;
    right: 1rem;
}

.rsl-relative {
    position: relative;
}

/* Dark mode support */
[data-theme="dark"] .rsl-toast {
    background-color: #2a2a2a;
    border-color: rgba(255,255,255,.1);
    color: #e0e0e0;
}

[data-theme="dark"] .rsl-toast-header {
    background-color: #4a9eff;
    color: #1a1a1a;
}

[data-theme="dark"] .rsl-toast-body {
    color: #e0e0e0;
}

[data-theme="dark"] .rsl-toast-body a {
    color: #6eb5ff !important;
    text-decoration: underline;
}

[data-theme="dark"] .rsl-toast-body a:hover {
    color: #8dc5ff !important;
}

[data-theme="dark"] .rsl-toast-close {
    color: #e0e0e0;
    text-shadow: none;
}