﻿:root {
    --sm-overlay-bg: rgba(0, 0, 0, 0.55);
    --sm-modal-bg: #ffffff;
    --sm-text: #1b1b1b;
    --sm-accent: #005ea5;
    --sm-border: #d0d0d0;
    --sm-radius: 8px;
    --sm-zindex: 9999;
}

.sm-hidden {
    display: none !important;
}

.sm-overlay {
    position: fixed;
    inset: 0;
    background: var(--sm-overlay-bg);
    z-index: var(--sm-zindex);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.sm-modal {
    max-width: 680px;
    width: 100%;
    background: var(--sm-modal-bg);
    color: var(--sm-text);
    border: 1px solid var(--sm-border);
    border-radius: var(--sm-radius);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25);
    padding: 1.25rem 1.25rem 1rem;
}

.sm-header h2 {
    margin: 0 0 0.75rem 0;
    font-size: 1.25rem;
}

.sm-body {
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.sm-actions {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
}

.sm-btn {
    background: var(--sm-accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 0.85rem;
    font-size: 0.95rem;
    cursor: pointer;
}

.sm-btn:hover, .sm-btn:focus {
    background: #004a86;
    outline: none;
}
