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

/* --- Overlay --- */
.tosinso-modal__overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    -webkit-backdrop-filter: blur(3px); /* Glass effect */
    backdrop-filter: blur(3px);
    padding: 20px; /* Add padding for small screens */
}

.tosinso-modal__overlay.is-visible {
    opacity: 1;
    visibility: visible;
}

/* --- Dialog (The Modal Box) --- */
.tosinso-modal__dialog {
    background-color: var(--component-bg-color);
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 100%;
    max-width: 600px; /* Default size */
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.tosinso-modal__overlay.is-visible .tosinso-modal__dialog {
    transform: scale(1);
    opacity: 1;
}

/* --- Size Modifiers --- */
.tosinso-modal__dialog--sm { max-width: 400px; }
.tosinso-modal__dialog--lg { max-width: 900px; }
.tosinso-modal__dialog--fullscreen {
    width: 100vw;
    height: 100vh;
    max-width: 100vw;
    max-height: 100vh;
    border-radius: 0;
}
/* NEW: Auto-size modifier */
.tosinso-modal__dialog--auto {
    max-width: none;
    width: auto;
    display: inline-flex; /* Shrink-wrap to content */
}


/* --- Header --- */
.tosinso-modal__header {
    padding: 20px 25px;
    border-bottom: 1px solid var(--medium-gray-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.tosinso-modal__title {
    font-family: 'PinarBold', sans-serif;
    font-size: 1.3rem;
    margin: 0;
}

.tosinso-modal__close-btn {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--dark-gray-color);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s;
}

.tosinso-modal__close-btn:hover {
    background-color: var(--light-gray-color);
}

/* --- Body --- */
.tosinso-modal__body {
    padding: 25px;
    overflow-y: auto;
    flex-grow: 1;
}


.tosinso-modal__body p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* --- Footer --- */
.tosinso-modal__footer {
    padding: 20px 25px;
    border-top: 1px solid var(--medium-gray-color);
    background-color: #f8f9fa;
    display: flex;
    justify-content: flex-end; /* Align buttons to the left (end in RTL) */
    gap: 10px;
    flex-shrink: 0;
}

/* --- Spinner for AJAX content --- */
.tosinso-modal__spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border-radius: var(--border-radius);
}

/* --- Body Scroll Lock --- */
.modal-open {
    overflow: hidden;
}
</pre></body></html>