<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">/* ==============================================
  Tosinso Professional Toast Component Styles
  ============================================== */

/* --- Toast Containers --- */
.tosinso-toast-container {
    position: fixed;
    z-index: 1100; /* Higher than modals */
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    max-width: 380px;
    pointer-events: none; /* Pass clicks through the container */
}

/* --- Positioning --- */
.tosinso-toast-container.top-right { top: 20px; right: 20px; }
.tosinso-toast-container.top-left { top: 20px; left: 20px; }
.tosinso-toast-container.top-center { top: 20px; left: 50%; transform: translateX(-50%); }
.tosinso-toast-container.bottom-right { bottom: 20px; right: 20px; }
.tosinso-toast-container.bottom-left { bottom: 20px; left: 20px; }
.tosinso-toast-container.bottom-center { bottom: 20px; left: 50%; transform: translateX(-50%); }


/* --- Individual Toast --- */
.tosinso-toast {
    display: flex;
    flex-direction: column; /* Changed for actions */
    background-color: var(--secondary-color); /* Default background */
    color: var(--text-color-light);
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    pointer-events: auto;
    animation-duration: 0.4s;
    animation-fill-mode: forwards;
    position: relative;
}

/* --- Animations (Updated for consistent exit effects) --- */

/* --- Show Animations --- */
.top-right .tosinso-toast.show,
.bottom-right .tosinso-toast.show { animation-name: slideInFromRight; }

.top-left .tosinso-toast.show,
.bottom-left .tosinso-toast.show { animation-name: slideInFromLeft; }

.top-center .tosinso-toast.show { animation-name: slideInFromTop; }

.bottom-center .tosinso-toast.show { animation-name: slideInFromBottom; }

/* --- Hide Animations --- */
.top-right .tosinso-toast.hide,
.bottom-right .tosinso-toast.hide { animation-name: slideOutToRight; }

.top-left .tosinso-toast.hide,
.bottom-left .tosinso-toast.hide { animation-name: slideOutToLeft; }

.top-center .tosinso-toast.hide { animation-name: slideOutToTop; }

.bottom-center .tosinso-toast.hide { animation-name: slideOutToBottom; }


/* --- Keyframes --- */
@keyframes slideInFromRight { from { transform: translateX(110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutToRight { from { transform: translateX(0); opacity: 1; } to { transform: translateX(110%); opacity: 0; } }

@keyframes slideInFromLeft { from { transform: translateX(-110%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes slideOutToLeft { from { transform: translateX(0); opacity: 1; } to { transform: translateX(-110%); opacity: 0; } }

@keyframes slideInFromTop { from { transform: translateY(-100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideOutToTop { from { transform: translateY(0); opacity: 1; } to { transform: translateY(-100px); opacity: 0; } }

@keyframes slideInFromBottom { from { transform: translateY(100px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
@keyframes slideOutToBottom { from { transform: translateY(0); opacity: 1; } to { transform: translateY(100px); opacity: 0; } }


/* --- Toast Types (Full background color) --- */
.tosinso-toast.toast-success { background-color: var(--success-color); }
.tosinso-toast.toast-error { background-color: var(--error-color); }
.tosinso-toast.toast-warning { background-color: #f39c12; } /* Darker warning for better text contrast */
.tosinso-toast.toast-info { background-color: var(--info-color); }

/* --- NEW: Light Toast Type --- */
.tosinso-toast.toast-light {
    background-color: var(--component-bg-color);
    color: var(--text-color);
    border: 1px solid var(--medium-gray-color); /* Add a subtle border for definition */
    border-right: 4px solid var(--primary-color); /* Add the blue accent border on the right */
}

.tosinso-toast.toast-light .toast-icon {
    color: var(--primary-color);
}

.tosinso-toast.toast-light .toast-progress-bar {
    background-color: rgba(0, 82, 255, 0.2); /* Light blue progress bar */
}

.tosinso-toast.toast-light .toast-action-btn {
    background-color: rgba(0, 0, 0, 0.05); /* Lighter background for actions */
    color: var(--text-color);
}

.tosinso-toast.toast-light .toast-action-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}


/* --- Toast Content --- */
.toast-main-content {
    display: flex;
    align-items: stretch;
    padding: 15px;
}

.toast-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    width: 30px;
    margin-left: 15px; /* RTL: margin-left for space */
}

.toast-content {
    flex-grow: 1;
}

.toast-message {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
}
.toast-message a {
    color: inherit;
    font-weight: bold;
    text-decoration: underline;
}

.toast-close-btn {
    flex-shrink: 0;
    background: none;
    border: none;
    color: inherit; /* Inherit color from parent */
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    padding: 0 0 0 15px; /* RTL: Padding on the left */
    opacity: 0.7;
    transition: opacity 0.2s;
    align-self: flex-start; /* Align to top */
}
.toast-close-btn:hover {
    opacity: 1;
}

/* --- Action Buttons --- */
.toast-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    padding: 0 15px 12px;
}
.toast-action-btn {
    background-color: rgba(0, 0, 0, 0.2);
    color: inherit;
    border: none;
    border-radius: 5px;
    padding: 6px 12px;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.2s;
}
.toast-action-btn:hover {
    background-color: rgba(0, 0, 0, 0.3);
}

/* --- Progress Bar --- */
.toast-progress-bar {
    position: absolute;
    bottom: 0;
    right: 0;
    height: 4px;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.25);
    animation: shrinkWidth linear forwards;
}

@keyframes shrinkWidth {
    from { width: 100%; }
    to { width: 0%; }
}

/* --- Responsive Design --- */
@media (max-width: 480px) {
    .tosinso-toast-container {
        max-width: 100%;
        width: 90%;
        left: 5%;
        right: 5%;
        transform: none !important;
    }
    .tosinso-toast-container.top-right,
    .tosinso-toast-container.top-left,
    .tosinso-toast-container.top-center { top: 10px; }
    .tosinso-toast-container.bottom-right,
    .tosinso-toast-container.bottom-left,
    .tosinso-toast-container.bottom-center { bottom: 10px; }
}
</pre></body></html>