.ms-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
}

.ms-modal.is-active {
    display: flex;
}

.ms-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
    backdrop-filter: blur(4px);
}

.ms-modal__content {
    position: relative;
    width: 90%;
    max-width: 600px;
    background-color: var(--ms-surface);
    border: 1px solid var(--ms-surface-2);
    border-radius: var(--ms-radius-lg);
    z-index: 3001;
    overflow: hidden;
    animation: ms-modal-fade-in 0.3s ease;
}

@keyframes ms-modal-fade-in {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.ms-modal__header {
    padding: 20px;
    border-bottom: 1px solid var(--ms-surface-2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ms-modal__title {
    font-size: 18px;
    font-weight: 700;
    color: var(--ms-text);
    margin: 0;
}

.ms-modal__close {
    background: none;
    border: none;
    color: var(--ms-text-secondary);
    font-size: 20px;
    cursor: pointer;
    transition: var(--ms-transition);
}

.ms-modal__close:hover {
    color: var(--ms-accent);
}

.ms-modal__body {
    padding: 20px;
    color: var(--ms-text-secondary);
    line-height: 1.6;
}
