/* Version update modal - shown when user has an outdated cached version */

.version-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.version-modal.hidden {
    display: none;
}

.version-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
}

.version-modal-dialog {
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    padding: 24px;
    max-width: 400px;
    width: 100%;
}

.version-modal-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 8px 0;
}

.version-modal-desc {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0 0 20px 0;
}

.version-modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.version-modal-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
}

.version-modal-btn--primary {
    background: #4f46e5;
    color: #fff;
    border: none;
}

.version-modal-btn--primary:hover {
    background: #4338ca;
}
