.sileo-container {
    position: fixed;
    top: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.sileo-toast {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 12px 16px;
    min-width: 350px;
    max-width: 420px;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    pointer-events: auto;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    animation: sileo-enter 0.4s cubic-bezier(0.21, 1.02, 0.73, 1) forwards;
    cursor: default;
}

[data-bs-theme="dark"] .sileo-toast {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.2);
}

.sileo-toast.sileo-exit {
    animation: sileo-exit 0.3s ease-in forwards;
}

@keyframes sileo-enter {
    from {
        opacity: 0;
        transform: translateY(-30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes sileo-exit {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.95) translateY(-30px);
    }
}

.sileo-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sileo-icon i {
    font-size: 18px;
}

.sileo-content {
    flex-grow: 1;
}

.sileo-title {
    font-weight: 500;
    font-size: 14px;
    color: #0f172a;
    margin-bottom: 2px;
}

[data-bs-theme="dark"] .sileo-title {
    color: #f8fafc;
}

.sileo-description {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    transition: all 0.3s ease;
}

/* Collapsible logic */
.sileo-collapsible .sileo-description {
    max-height: 0;
    opacity: 0;
    margin-top: 0;
    overflow: hidden;
}

.sileo-expanded .sileo-description {
    max-height: 100px;
    opacity: 1;
    margin-top: 2px;
}

[data-bs-theme="dark"] .sileo-description {
    color: #94a3b8;
}

.sileo-success .sileo-icon {
    color: #10b981;
}

.sileo-error .sileo-icon {
    color: #f43f5e;
}

.sileo-warning .sileo-icon {
    color: #f59e0b;
}

.sileo-info .sileo-icon {
    color: #3b82f6;
}

/* Utility classes to support user example styles */
.text-green-500 {
    color: #10b981 !important;
}

.text-red-500 {
    color: #f43f5e !important;
}

.font-medium {
    font-weight: 500 !important;
}

/* Sileo Lottie Checkmark Animation */
.sileo-checkmark {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: block;
    stroke-width: 5;
    stroke: #10b981;
    stroke-miterlimit: 10;
    box-shadow: inset 0px 0px 0px #10b981;
    animation: sileo-fill .4s ease-in-out .4s forwards, sileo-scale .3s ease-in-out .9s both;
}

.sileo-checkmark-circle {
    stroke-dasharray: 166;
    stroke-dashoffset: 166;
    stroke-width: 5;
    stroke-miterlimit: 10;
    stroke: #10b981;
    fill: none;
    animation: sileo-stroke .6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.sileo-checkmark-check {
    transform-origin: 50% 50%;
    stroke-dasharray: 48;
    stroke-dashoffset: 48;
    animation: sileo-stroke .3s cubic-bezier(0.65, 0, 0.45, 1) .8s forwards;
}

@keyframes sileo-stroke {
    100% {
        stroke-dashoffset: 0;
    }
}

@keyframes sileo-scale {

    0%,
    100% {
        transform: none;
    }

    50% {
        transform: scale3d(1.1, 1.1, 1);
    }
}

@keyframes sileo-fill {
    100% {
        box-shadow: inset 0px 0px 0px 30px #10b9811a;
    }
}

/* Sileo Modal / Confirm Styles */
.sileo-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 20px;
}

.sileo-modal-overlay.sileo-active {
    opacity: 1;
}

.sileo-modal {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 400px;
    padding: 24px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid #e2e8f0;
}

[data-bs-theme="dark"] .sileo-modal {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.sileo-modal-overlay.sileo-active .sileo-modal {
    transform: scale(1) translateY(0);
}

.sileo-modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #0f172a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}

[data-bs-theme="dark"] .sileo-modal-title {
    color: #f1f5f9;
}

.sileo-modal-text {
    font-size: 14px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 24px;
}

[data-bs-theme="dark"] .sileo-modal-text {
    color: #94a3b8;
}

.sileo-modal-input {
    width: 100%;
    padding: 10px 14px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 20px;
    outline: none;
    transition: all 0.2s ease;
}

[data-bs-theme="dark"] .sileo-modal-input {
    background: #0f172a;
    border-color: #334155;
    color: #f1f5f9;
}

.sileo-modal-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.sileo-modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.sileo-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
}

.sileo-btn-cancel {
    background: #f1f5f9;
    color: #475569;
}

.sileo-btn-cancel:hover {
    background: #e2e8f0;
}

[data-bs-theme="dark"] .sileo-btn-cancel {
    background: #334155;
    color: #cbd5e1;
}

[data-bs-theme="dark"] .sileo-btn-cancel:hover {
    background: #475569;
}

.sileo-btn-confirm {
    background: #3b82f6;
    color: #ffffff;
}

.sileo-btn-confirm:hover {
    background: #2563eb;
    transform: translateY(-1px);
}

.sileo-btn-danger {
    background: #f43f5e;
    color: #ffffff;
}

.sileo-btn-danger:hover {
    background: #e11d48;
    transform: translateY(-1px);
}